Browse Source

[Bug-8170][UI] SUB_PROCESS Clicking into the child node does not react (#8371)

* Fix-8170 SUB_PROCESS Clicking into the child node does not react

* Fix-8170 SUB_PROCESS Clicking into the child node does not react
mazhong 3 years ago
parent
commit
6334a8221a

+ 1 - 6
dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue

@@ -767,13 +767,8 @@
               this.$message.error(e.msg || '')
             })
         } else {
-          const processDefinitionId =
-            this.backfillItem.params.processDefinitionId
-          const process = this.processListS.find(
-            (def) => def.id === processDefinitionId
-          )
           this.$emit('onSubProcess', {
-            subProcessCode: process.code,
+            subProcessCode: this.backfillItem.params.processDefinitionCode,
             fromThis: this
           })
         }