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 07:46:50 UTC

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

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

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


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

commit 6334a8221a0dfa35d7fb69de227b5aedbe775a0f
Author: mazhong <31...@qq.com>
AuthorDate: Thu Feb 17 15:44:19 2022 +0800

    [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
---
 .../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 1f80f39..1fd09de 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
@@ -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
           })
         }