Parcourir la source

fix: 修复表单数据没有显示的问题

duxz il y a 5 mois
Parent
commit
490c4bde02
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/views/bpm/processInstance/detail/index.vue

+ 1 - 1
src/views/bpm/processInstance/detail/index.vue

@@ -363,7 +363,7 @@ const loadRunningTask = (tasks) => {
     // 2.4 处理 approve 表单
     if (task.formId && task.formConf) {
       const approveForm = {}
-      setConfAndFields2(approveForm, task.formConf, task.formFields, task.formVariable)
+      setConfAndFields2(approveForm, task.formConf, task.formFields, task.formVariables)
       approveForms.value.push(approveForm)
     } else {
       approveForms.value.push({}) // 占位,避免为空