You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by le...@apache.org on 2021/09/24 11:02:33 UTC

[dolphinscheduler] branch dev updated: Fix errors when viewing variables (#6335)

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

leonbao 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 9be7f79  Fix errors when viewing variables (#6335)
9be7f79 is described below

commit 9be7f7931d70d24e338f57796d4e721f0d816933
Author: Wangyizhi1 <87...@users.noreply.github.com>
AuthorDate: Fri Sep 24 19:02:30 2021 +0800

    Fix errors when viewing variables (#6335)
---
 dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js b/dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js
index c1620b8..9f4811d 100644
--- a/dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js
+++ b/dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js
@@ -690,7 +690,7 @@ export default {
    */
   getViewvariables ({ state }, payload) {
     return new Promise((resolve, reject) => {
-      io.get(`projects/${state.projectCode}/process-instances/${payload.code}/view-variables`, payload, res => {
+      io.get(`projects/${state.projectCode}/process-instances/${payload.processInstanceId}/view-variables`, res => {
         resolve(res)
       }).catch(e => {
         reject(e)