This commit is contained in:
‘937886381’ 2024-05-11 16:45:00 +08:00
parent 8a5b0f2857
commit b28018a7a2

View File

@ -95,7 +95,7 @@ export default {
console.log(data) console.log(data)
this.weather = data.lives[0].weather + ' '+ data.lives[0].temperature + '℃' this.weather = data.lives[0].weather + ' '+ data.lives[0].temperature + '℃'
}).catch((err) => { }).catch((err) => {
this.weather = '晴 25摄氏度' this.weather = '晴 25'
console.log(err); console.log(err);
}) })
}) })