mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-04 13:17:50 +08:00
Fix api url (#1672)
This commit is contained in:
parent
bb414b0794
commit
22a2d43d7c
@ -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 => {
|
||||
|
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user