From 5c9ab342345a8d20d572ae68e2e25e45f296bc73 Mon Sep 17 00:00:00 2001 From: xusd Date: Tue, 4 Jun 2024 11:19:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E8=AD=A6=E8=AF=A6=E6=83=85=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E9=A1=B5=E9=9D=A2=E6=96=B9=E5=BC=8F=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=92=8C=E5=88=97=E8=A1=A8=E5=88=B7=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/work/alarm/detailsAlarm.vue | 2 +- pages/work/alarm/listAlarm.vue | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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; },