From 8f3605c4b8e03d58d0bd314348736a9722c4e671 Mon Sep 17 00:00:00 2001 From: ssc <273702440@qq.com> Date: Mon, 17 Apr 2023 21:16:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9F=A5=E7=9C=8B=E5=B7=B2=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E6=B5=81=E7=A8=8B=E8=AF=A6=E6=83=85=E6=8A=A5=E9=94=99?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/plugin/workflow/pages/process/form/detail.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/views/plugin/workflow/pages/process/form/detail.vue b/src/views/plugin/workflow/pages/process/form/detail.vue index baa1cf5..0149196 100644 --- a/src/views/plugin/workflow/pages/process/form/detail.vue +++ b/src/views/plugin/workflow/pages/process/form/detail.vue @@ -154,6 +154,12 @@ export default { const { variables, status } = process let { allForm, taskForm, formList } = form + if (!allForm && !taskForm && !formList) { + this.$message.error('未获取到表单信息或流程已不存在') + this.handleCloseTag() + this.$router.go(-1) + return + } if (formList && formList.length > 0) { const options = { menuBtn: false,