💪 optimize: 优化代码

This commit is contained in:
wangsongsole 2024-03-01 17:10:40 +08:00
parent c645ba6d3f
commit ad06e50a71
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@
await req.axiosGet('/conf/apiStatus').then(res => {
if (res.data.update) {
sessionStorage.setItem('notice', res.data.msg);
location.href = './notice.html';
location.replace('./notice.html');
return;
}
});