From 416b94b85c21279aa851943ad0d8b060ed1abdfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=9D=E5=85=88=E7=91=9E?= <1490493387@qq.com> Date: Sat, 1 Jan 2022 16:12:24 +0800 Subject: [PATCH] =?UTF-8?q?fix(views/dict):=20tag=E7=9A=84type=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E4=BD=BF=E7=94=A8=E9=94=99=E8=AF=AF=E8=AD=A6=E5=91=8A?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/dict/index.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/system/dict/index.vue b/src/views/system/dict/index.vue index 40f4458b..931774f3 100644 --- a/src/views/system/dict/index.vue +++ b/src/views/system/dict/index.vue @@ -17,7 +17,7 @@ @@ -33,13 +33,15 @@ import SvgIcon from '@/components/SvgIcon/index.vue'; import Dict from './components/Dict.vue' import DictItem from './components/DictItem.vue' -import {reactive} from 'vue' +import {reactive,toRefs} from 'vue' const state = reactive({ dictCode: '', dictName: '' // 字典名称,用于字典项组件回显 }) +const {dictCode,dictName} =toRefs(state) + const handleDictClick = (dictRow: any) => { if (dictRow) { state.dictName = dictRow.name