You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by ca...@apache.org on 2022/02/17 08:06:21 UTC

[dolphinscheduler] branch 2.0.4-prepare updated: [Bug-8170][UI] SUB_PROCESS Clicking into the child node does not react (#8371) (#8414)

This is an automated email from the ASF dual-hosted git repository.

caishunfeng pushed a commit to branch 2.0.4-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/2.0.4-prepare by this push:
     new 7a7558c  [Bug-8170][UI] SUB_PROCESS Clicking into the child node does not react (#8371) (#8414)
7a7558c is described below

commit 7a7558c9dd7618d8bfcb905c5c8b8ae70c78c541
Author: caishunfeng <ca...@gmail.com>
AuthorDate: Thu Feb 17 16:06:14 2022 +0800

    [Bug-8170][UI] SUB_PROCESS Clicking into the child node does not react (#8371) (#8414)
    
    * Fix-8170 SUB_PROCESS Clicking into the child node does not react
    
    * Fix-8170 SUB_PROCESS Clicking into the child node does not react
    
    Co-authored-by: mazhong <31...@qq.com>
---
 .../src/js/conf/home/pages/dag/_source/formModel/formModel.vue     | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue
index 39854de..1bc44a0 100644
--- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue
+++ b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue
@@ -653,13 +653,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
           })
         }