|
@@ -87,7 +87,7 @@ export default {
|
|
} else {
|
|
} else {
|
|
this.setCustomBar(66);
|
|
this.setCustomBar(66);
|
|
let detail = res.data.predict.detail[0];
|
|
let detail = res.data.predict.detail[0];
|
|
- this.weather = `${getWeek()} ${getYMD().split("年")[1]} | ${detail.night.weather.temperature}~${detail.day.weather.temperature}℃ ${res.data.real.weather.info}`
|
|
|
|
|
|
+ this.weather = `${getWeek()} ${getYMD().split("年")[1]} | ${detail.day.weather.temperature == '9999' ? detail.night.weather.temperature : detail.night.weather.temperature + '~' + detail.day.weather.temperature}℃ ${res.data.real.weather.info}`
|
|
}
|
|
}
|
|
})
|
|
})
|
|
} else {
|
|
} else {
|