fix: 查看已删除流程详情报错的问题

3.x
ssc 3 years ago
parent 6031c604d9
commit 8f3605c4b8
  1. 6
      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,

Loading…
Cancel
Save