From 7f922eb1e96e21e72fccc651167348021af039d2 Mon Sep 17 00:00:00 2001 From: quanyawei <401863037@qq.com> Date: Mon, 13 Nov 2023 08:53:22 +0800 Subject: [PATCH] fix:小程序详情修改 --- pages/actionChange/workOrderDetails/index.vue | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/pages/actionChange/workOrderDetails/index.vue b/pages/actionChange/workOrderDetails/index.vue index 550a248..0f7dd49 100644 --- a/pages/actionChange/workOrderDetails/index.vue +++ b/pages/actionChange/workOrderDetails/index.vue @@ -135,9 +135,15 @@ showTabBar: true } }) - uni.redirectTo({ - url: '/pages/index/index', - }) + if (this.option.type === 'share') { + uni.redirectTo({ + url: '/pages/index/index', + }) + } else { + uni.navigateBack({ + delta: 1, //������������������������������������������2 + }) + } }, refuse() { Promise.all([this.$refs.rectificationInfor && this.$refs.rectificationInfor.formVali(), this.$refs -- Gitblit v1.8.0