1.修复字典查询的方式,改为模糊查询

2.修改新增字段的bug
This commit is contained in:
zer0Black
2022-02-25 18:13:54 +08:00
parent 6126ae0220
commit 44ee907cef
3 changed files with 3 additions and 5 deletions
@@ -114,9 +114,7 @@
this.model.dictName = (this.model.dictName || '').trim()
this.model.dictCode = (this.model.dictCode || '').trim()
this.model.description = (this.model.description || '').trim()
let formData = Object.assign(this.model, values)
let obj
console.log(formData)
if (!this.model.id) {
obj = addDict(this.model)
} else {