修复缺陷
This commit is contained in:
@@ -382,10 +382,10 @@ function GameInfo(props) {
|
||||
location_name,
|
||||
start_time,
|
||||
end_time,
|
||||
weather = [{}],
|
||||
weather,
|
||||
} = detail || {};
|
||||
|
||||
const [{ iconDay, tempMax, tempMin }] = weather;
|
||||
const [{ iconDay, tempMax, tempMin }] = weather || [{}];
|
||||
|
||||
const openMap = () => {
|
||||
Taro.openLocation({
|
||||
|
||||
Reference in New Issue
Block a user