diff --git a/pages/work/alarm/detailsAlarm.vue b/pages/work/alarm/detailsAlarm.vue index 7972db4..3903356 100644 --- a/pages/work/alarm/detailsAlarm.vue +++ b/pages/work/alarm/detailsAlarm.vue @@ -85,7 +85,7 @@ } updateRecord(data).then(() => { this.$refs.showMsg.success('处理成功'); - this.$tab.navigateTo("/pages/work/alarm/listAlarm?flag=1"); + this.$tab.redirectTo("/pages/work/alarm/listAlarm?flag=1"); }) }, } diff --git a/pages/work/alarm/listAlarm.vue b/pages/work/alarm/listAlarm.vue index bf84ae2..9501c57 100644 --- a/pages/work/alarm/listAlarm.vue +++ b/pages/work/alarm/listAlarm.vue @@ -90,6 +90,10 @@ this.tipText = "已加载完成"; } }, + onShow() { + this.alarmList = []; + this.getAlarmList(); + }, onLoad(opts) { this.flag = opts.flag; },