[参数项列表] 添加
This commit is contained in:
@@ -421,7 +421,7 @@ export default {
|
|||||||
let Action
|
let Action
|
||||||
if (this.formInline.id) {
|
if (this.formInline.id) {
|
||||||
url = this.url.edit
|
url = this.url.edit
|
||||||
Action = putAction
|
Action = postAction
|
||||||
} else {
|
} else {
|
||||||
url = this.url.add
|
url = this.url.add
|
||||||
Action = postAction
|
Action = postAction
|
||||||
@@ -440,7 +440,7 @@ export default {
|
|||||||
this.visible = false
|
this.visible = false
|
||||||
this.$emit('addModelList')
|
this.$emit('addModelList')
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(this.$t('operationFailed'))
|
this.$message.warning(res.message)
|
||||||
this.confirmLoading = false
|
this.confirmLoading = false
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user