From d30c9e90d6cefb04a573e9507b28fc5a0d974fff Mon Sep 17 00:00:00 2001 From: ljh <1192263352@qq.com> Date: Wed, 3 Jul 2024 00:49:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=89=A9=E6=96=99=E7=95=8C?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Web/src/views/basics-date/matter/index.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Web/src/views/basics-date/matter/index.vue b/Web/src/views/basics-date/matter/index.vue index 9c31af9..ef312e7 100644 --- a/Web/src/views/basics-date/matter/index.vue +++ b/Web/src/views/basics-date/matter/index.vue @@ -169,9 +169,10 @@ deleteMaterialsClassify, listMaterialsClassify, } from "/@/api/main/materialClassify"; + import {ref} from "vue"; - const currentRow = ref() - const singleTableRef = ref>() + const currentRow = ref(); + const singleTableRef = ref>(); const showAdvanceQueryUI = ref(false); const editDialogRef = ref(); const editDialogClassifyRef = ref(); @@ -187,7 +188,7 @@ //单选 const radioChangeEvent = (val: undefined) => { - if(val.id) { + if(val) { currentRow.value = val.id queryParams.value.classify = val.id; handleQuery();