From ede7e575ebfd677a32c5e5f1722ad89f03bd6157 Mon Sep 17 00:00:00 2001 From: hxr <1490493387@qq.com> Date: Tue, 11 Jul 2023 07:21:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20:bug:=20=E5=AD=97=E5=85=B8=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E4=BF=9D=E5=AD=98`typeCode`=E5=8F=96=E5=80=BC?= =?UTF-8?q?=E6=9C=AA=E5=AE=9E=E6=97=B6=E6=9B=B4=E6=96=B0=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: c375a91846db90ad2e33412ac5afb9da74c4ea26 --- src/views/system/dict/DictData.vue | 1 + src/views/system/dict/index.vue | 7 +++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/system/dict/DictData.vue b/src/views/system/dict/DictData.vue index 03f15200..ce3b12f7 100644 --- a/src/views/system/dict/DictData.vue +++ b/src/views/system/dict/DictData.vue @@ -33,6 +33,7 @@ watch( () => props.typeCode, (newVal: string) => { queryParams.typeCode = newVal; + formData.typeCode = newVal; resetQuery(); } ); diff --git a/src/views/system/dict/index.vue b/src/views/system/dict/index.vue index e868241a..9d7e07fb 100644 --- a/src/views/system/dict/index.vue +++ b/src/views/system/dict/index.vue @@ -166,11 +166,10 @@ const dictDataDialog = reactive({ 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;