From 9be7f7931d70d24e338f57796d4e721f0d816933 Mon Sep 17 00:00:00 2001 From: Wangyizhi1 <87303815+Wangyizhi1@users.noreply.github.com> Date: Fri, 24 Sep 2021 19:02:30 +0800 Subject: [PATCH] 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 c1620b898d..9f4811d60a 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)