feat: 新增系统升级页面

This commit is contained in:
wangsongsole 2023-12-23 19:40:54 +08:00
parent 35a92c05dd
commit 6f9907d93a
2 changed files with 13 additions and 2 deletions

View File

@ -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');

View File

@ -96,7 +96,7 @@
<img src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/img/popNotes.png" class="icon">
<p class="title">温馨提示</p>
<p class="text">
系统正在升级,请稍后再试。
{{notice}}
</p>
</div>
</div>
@ -105,7 +105,12 @@
<script>
const { createApp } = Vue;
createApp({ setup () { } }).mount('#app')
createApp({
setup () {
const notice = sessionStorage.getItem('notice');
return { notice };
}
}).mount('#app')
</script>
</html>