fix: 🐛 字典数据保存typeCode取值未实时更新问题修复
Former-commit-id: c375a91846db90ad2e33412ac5afb9da74c4ea26
This commit is contained in:
@@ -33,6 +33,7 @@ watch(
|
||||
() => props.typeCode,
|
||||
(newVal: string) => {
|
||||
queryParams.typeCode = newVal;
|
||||
formData.typeCode = newVal;
|
||||
resetQuery();
|
||||
}
|
||||
);
|
||||
|
||||
@@ -166,11 +166,10 @@ const dictDataDialog = reactive<DialogOption>({
|
||||
visible: false,
|
||||
});
|
||||
|
||||
// 当前选中的字典类型
|
||||
const selectedDictType = reactive({ typeCode: "", typeName: "" });
|
||||
const selectedDictType = reactive({ typeCode: "", typeName: "" }); // 当前选中的字典类型
|
||||
|
||||
/**
|
||||
* 打开字典弹窗
|
||||
* 打开字典数据弹窗
|
||||
*/
|
||||
function openDictDialog(row: DictTypePageVO) {
|
||||
dictDataDialog.visible = true;
|
||||
@@ -181,7 +180,7 @@ function openDictDialog(row: DictTypePageVO) {
|
||||
}
|
||||
|
||||
/**
|
||||
* 关闭字典弹窗
|
||||
* 关闭字典数据弹窗
|
||||
*/
|
||||
function closeDictDialog() {
|
||||
dictDataDialog.visible = false;
|
||||
|
||||
Reference in New Issue
Block a user