|
|
@ -313,14 +313,14 @@ export default {
|
|
|
|
setInterval(() => this.getAlarmData(), 1000 * 60);
|
|
|
|
setInterval(() => this.getAlarmData(), 1000 * 60);
|
|
|
|
this.poolNameList = JSON.parse(localStorage.getItem("POOL_NAME_LIST"));
|
|
|
|
this.poolNameList = JSON.parse(localStorage.getItem("POOL_NAME_LIST"));
|
|
|
|
this.poolName = localStorage.getItem("USER_POOL_NAME_CURRENT");
|
|
|
|
this.poolName = localStorage.getItem("USER_POOL_NAME_CURRENT");
|
|
|
|
/**
|
|
|
|
|
|
|
|
//先执行一次
|
|
|
|
//先执行一次
|
|
|
|
this.getUnReadList();
|
|
|
|
this.getUnReadList();
|
|
|
|
// 实现轮询
|
|
|
|
// 实现轮询
|
|
|
|
this.timer = setInterval(() => {
|
|
|
|
this.timer = setInterval(() => {
|
|
|
|
setTimeout(this.getUnReadList(), 30000);
|
|
|
|
setTimeout(this.getUnReadList(), 30000);
|
|
|
|
}, 30000);
|
|
|
|
}, 30000);
|
|
|
|
**/
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
components: {
|
|
|
|
components: {
|
|
|
|
Breadcrumb,
|
|
|
|
Breadcrumb,
|
|
|
|