🐛 fix: 修复bug

This commit is contained in:
wangsongsole 2023-12-24 02:49:10 +08:00
parent 5a2c6398d8
commit fff3d07134
1 changed files with 3 additions and 2 deletions

View File

@ -107,11 +107,12 @@
modelPop modelPop
}, },
created () { async created () {
req.axiosGet('/conf/apiStatus').then(res => { await req.axiosGet('/conf/apiStatus').then(res => {
if (res.data.update) { if (res.data.update) {
sessionStorage.setItem('notice', res.data.msg); sessionStorage.setItem('notice', res.data.msg);
location.href = './notice.html'; location.href = './notice.html';
return;
} }
}); });
let self = this; let self = this;