This is an automated email from the ASF dual-hosted git repository.
journey pushed a commit to branch 1.2.1-release
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git
The following commit(s) were added to refs/heads/1.2.1-release by this push:
new bf11daa fix api url (#1673)
bf11daa is described below
commit bf11daaa934ce775fb287312d18c3c42eb63b05c
Author: break60 <[email protected]>
AuthorDate: Thu Jan 2 13:54:26 2020 +0800
fix api url (#1673)
---
dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js | 2 +-
.../src/js/module/components/fileUpdate/definitionUpdate.vue | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
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 7ef6193..b854dc8 100644
--- a/dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js
+++ b/dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js
@@ -270,7 +270,7 @@ export default {
resolve()
return
}
- io.get(`projects/queryAllProjectList`, payload, res => {
+ io.get(`projects/query-project-list`, payload, res => {
state.projectListS = res.data
resolve(res.data)
}).catch(res => {
diff --git
a/dolphinscheduler-ui/src/js/module/components/fileUpdate/definitionUpdate.vue
b/dolphinscheduler-ui/src/js/module/components/fileUpdate/definitionUpdate.vue
index f3124b9..e8d8ee3 100644
---
a/dolphinscheduler-ui/src/js/module/components/fileUpdate/definitionUpdate.vue
+++
b/dolphinscheduler-ui/src/js/module/components/fileUpdate/definitionUpdate.vue
@@ -141,7 +141,7 @@
let self = this
let formData = new FormData()
formData.append('file', this.file)
- io.post(`projects/importProcessDefinition`, res => {
+ io.post(`projects/import-definition`, res => {
this.$message.success(res.msg)
resolve()
self.$emit('onUpdate')