You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2021/12/07 09:02:34 UTC

[GitHub] [dolphinscheduler] Wangyizhi1 commented on a change in pull request #6997: [Feature-6996][server & ui] Add dependent tips about success or failure

Wangyizhi1 commented on a change in pull request #6997:
URL: https://github.com/apache/dolphinscheduler/pull/6997#discussion_r759815083



##########
File path: dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.vue
##########
@@ -566,6 +568,13 @@
                 })
               })
             }
+            if (list) {
+              list.forEach((dependent) => {
+                if (dependent.dependentResult) {
+                  this.setDependResult(JSON.parse(dependent.dependentResult))
+                }
+              })
+            }
           })

Review comment:
       Thank you for your contribution, this problem may be caused by my previous refactoring.
   BTW, if there are multiple DEPENDENT tasks in a workflow, problems may arise here. You can consider using 
   ``taskInstance`` computed in ``formModel.vue`` to obtain the ``dependentResult`` of the current instance.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org