diff --git a/pages/work/alarm/detailsAlarm.vue b/pages/work/alarm/detailsAlarm.vue index 95a4b49..2f3da07 100644 --- a/pages/work/alarm/detailsAlarm.vue +++ b/pages/work/alarm/detailsAlarm.vue @@ -84,7 +84,10 @@ } updateRecord(data).then(() => { uni.$u.toast('处理成功'); - this.$tab.redirectTo("/pages/work/alarm/listAlarm?flag=1"); + uni.navigateBack({ + //关闭当前页面,返回上一页面或多级页面。 + delta: 1 + }); }) }, }