Kaynağa Gözat

Fix errors when viewing variables (#6335)

Wangyizhi1 3 yıl önce
ebeveyn
işleme
9be7f7931d

+ 1 - 1
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)