Browse Source

Merge pull request #299 from millionfor/branch-1.0.2

修复变量问题
pull/2/head
millionfor 6 years ago committed by GitHub
parent
commit
1e9299cdf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      escheduler-ui/src/js/conf/home/store/dag/actions.js

4
escheduler-ui/src/js/conf/home/store/dag/actions.js

@ -538,7 +538,7 @@ export default {
*/ */
getReceiver ({ state }, payload) { getReceiver ({ state }, payload) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
io.get(`projects/{projectName}/executors/get-receiver-cc`, payload, res => { io.get(`projects/${state.projectName}/executors/get-receiver-cc`, payload, res => {
resolve(res.data) resolve(res.data)
}).catch(e => { }).catch(e => {
reject(e) reject(e)
@ -547,7 +547,7 @@ export default {
}, },
getTaskListDefIdAll ({ state }, payload) { getTaskListDefIdAll ({ state }, payload) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
io.get(`projects/{projectName}/process/get-task-list`, payload, res => { io.get(`projects/${state.projectName}/process/get-task-list`, payload, res => {
resolve(res.data) resolve(res.data)
}).catch(e => { }).catch(e => {
reject(e) reject(e)

Loading…
Cancel
Save