From 6f9907d93ab0604ce28baf7c576787d6baafaae9 Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Sat, 23 Dec 2023 19:40:54 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20=E6=96=B0=E5=A2=9E=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E5=8D=87=E7=BA=A7=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 6 ++++++ notice.html | 9 +++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 554ee69..634f365 100644 --- a/index.html +++ b/index.html @@ -108,6 +108,12 @@ }, created () { + req.axiosGet('/conf/apiStatus').then(res => { + if (res.data.update) { + sessionStorage.setItem('notice', res.data.msg); + location.href = './notice.html'; + } + }); let self = this; //获取链接携带的参数 let linkId = this.getQueryString('id'); diff --git a/notice.html b/notice.html index 77631fc..b0470dd 100644 --- a/notice.html +++ b/notice.html @@ -96,7 +96,7 @@

温馨提示

- 系统正在升级,请稍后再试。 + {{notice}}

@@ -105,7 +105,12 @@ \ No newline at end of file