✨ feat: 新增系统升级页面
This commit is contained in:
parent
35a92c05dd
commit
6f9907d93a
|
@ -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');
|
||||
|
|
|
@ -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>
|
Loading…
Reference in New Issue