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,