🐛 fix: 修复bug
This commit is contained in:
parent
5a2c6398d8
commit
fff3d07134
|
@ -107,11 +107,12 @@
|
|||
modelPop
|
||||
},
|
||||
|
||||
created () {
|
||||
req.axiosGet('/conf/apiStatus').then(res => {
|
||||
async created () {
|
||||
await req.axiosGet('/conf/apiStatus').then(res => {
|
||||
if (res.data.update) {
|
||||
sessionStorage.setItem('notice', res.data.msg);
|
||||
location.href = './notice.html';
|
||||
return;
|
||||
}
|
||||
});
|
||||
let self = this;
|
||||
|
|
Loading…
Reference in New Issue