修复缺陷

This commit is contained in:
2025-09-15 10:21:12 +08:00
parent 997c5a6e28
commit db4286125a

View File

@@ -382,10 +382,10 @@ function GameInfo(props) {
location_name, location_name,
start_time, start_time,
end_time, end_time,
weather = [{}], weather,
} = detail || {}; } = detail || {};
const [{ iconDay, tempMax, tempMin }] = weather; const [{ iconDay, tempMax, tempMin }] = weather || [{}];
const openMap = () => { const openMap = () => {
Taro.openLocation({ Taro.openLocation({