From 074ab79640c82b4d358dff3cef71fae841d7a792 Mon Sep 17 00:00:00 2001 From: ssc <273702440@qq.com> Date: Mon, 17 Apr 2023 16:25:39 +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/process/components/detail.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/views/plugin/workflow/process/components/detail.vue b/src/views/plugin/workflow/process/components/detail.vue index 8485fbe..8a8e4aa 100644 --- a/src/views/plugin/workflow/process/components/detail.vue +++ b/src/views/plugin/workflow/process/components/detail.vue @@ -135,6 +135,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,