消息查看详情

main
unknown 2024-04-30 15:17:11 +08:00
parent 6aa85fd68d
commit e615d92370
1 changed files with 4 additions and 3 deletions

View File

@ -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}`,
})
}
}