💪 optimize: 优化代码
This commit is contained in:
parent
c645ba6d3f
commit
ad06e50a71
|
@ -113,7 +113,7 @@
|
||||||
await 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.replace('./notice.html');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue