修复缺陷
This commit is contained in:
@@ -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({
|
||||||
|
|||||||
Reference in New Issue
Block a user