From e615d92370f82ddd8ce2c76c406888e9f615d6ff Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 30 Apr 2024 15:17:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B6=88=E6=81=AF=E6=9F=A5=E7=9C=8B=E8=AF=A6?= =?UTF-8?q?=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/message/components/item.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/pages/message/components/item.vue b/src/pages/message/components/item.vue index c186514..2546160 100644 --- a/src/pages/message/components/item.vue +++ b/src/pages/message/components/item.vue @@ -71,12 +71,13 @@ const onClick = () => { if (type == 'approval') { //详情 - if (additional.workflow_check) { - const { subject_id, subject_type } = additional.workflow_check + if (additional.subject) { + const subject_type = additional.subject_type + const { id } = additional.subject const path = pageData[subject_type].path if (path) { uni.navigateTo({ - url: `${path}?id=${subject_id}&type=${subject_type}`, + url: `${path}?id=${id}&type=${subject_type}`, }) } }