Fix api url (#1672)

This commit is contained in:
break60 2020-01-02 10:25:09 +08:00 committed by qiaozhanwei
parent bb414b0794
commit 22a2d43d7c
2 changed files with 2 additions and 2 deletions

View File

@ -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 => {

View File

@ -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')