🐛 fix: 修复bug
This commit is contained in:
parent
5a2c6398d8
commit
fff3d07134
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue