字典修改

This commit is contained in:
2022-12-01 16:31:07 +08:00
parent e4bda3cc41
commit 2e1b5ce5ac
5 changed files with 33 additions and 15 deletions

View File

@@ -126,11 +126,9 @@ export default {
},
// 选中字典后,设置字典详情数据
handleCurrentChange(val) {
console.log(val)
if (val) {
this.$refs.dictDetail.query.code = val.code
this.$refs.dictDetail.form.id = val.dict_id
this.$refs.dictDetail.dict_id = val.dict_id
this.$refs.dictDetail.form.dictCode = val.code
this.$refs.dictDetail.crud.toQuery()
}
}