From 2acdca96e8d889840347e83646e5a6ead79802b3 Mon Sep 17 00:00:00 2001 From: xusd Date: Tue, 11 Jun 2024 14:34:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E8=AD=A6=E8=AF=A6=E6=83=85=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/work/alarm/detailsAlarm.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 + }); }) }, }