update“

This commit is contained in:
2022-08-24 16:29:59 +08:00
parent 626e543fa5
commit 9df5f3b336
5 changed files with 5 additions and 5 deletions

View File

@@ -127,7 +127,7 @@ export default {
if (!valid) {
return false
}
this.$http[!this.dataForm.id ? 'post' : 'put']('/sys/dept', this.dataForm)
this.$http[!this.dataForm.id ? 'post' : 'put'](this.$http.adornUrl('/sys/dept'), this.dataForm)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)