diff --git a/src/pages/MywrList/index.vue b/src/pages/MywrList/index.vue index 5ab9287..eedd7aa 100644 --- a/src/pages/MywrList/index.vue +++ b/src/pages/MywrList/index.vue @@ -575,7 +575,7 @@ export default { this.getNowTime(); this.initMaintainLog(); this.stationInfoApi(); - this.getAlertRecord(); + }, initMaintainLog(){//巡检日志 getMaintainLog({stationCode: this.stationCode, pageSize: 3}).then(res => { @@ -836,6 +836,7 @@ export default { setTimeout(() => { this.switchLive(true); }, 2000) + this.getAlertRecord(); }) }, switchLive(live, deployCode){