From fff3d07134d2670f773b048f663db2457c31ba9e Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Sun, 24 Dec 2023 02:49:10 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 634f365..81973cd 100644 --- a/index.html +++ b/index.html @@ -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;