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