From d245ef30377edd6253a4ca428dd519810d47d199 Mon Sep 17 00:00:00 2001 From: JEECG <445654970@qq.com> Date: Tue, 26 Aug 2025 13:29:05 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90JVXETable=E3=80=91=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E9=A6=96=E5=B1=8F=E5=8A=A0=E8=BD=BD=E9=80=9F=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/jeecg/JVxeTable/src/hooks/useFinallyProps.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jeecgboot-vue3/src/components/jeecg/JVxeTable/src/hooks/useFinallyProps.ts b/jeecgboot-vue3/src/components/jeecg/JVxeTable/src/hooks/useFinallyProps.ts index ec5baf570..40c2c8ca5 100644 --- a/jeecgboot-vue3/src/components/jeecg/JVxeTable/src/hooks/useFinallyProps.ts +++ b/jeecgboot-vue3/src/components/jeecg/JVxeTable/src/hooks/useFinallyProps.ts @@ -117,13 +117,13 @@ export function useFinallyProps(props: JVxeTableProps, data: JVxeDataProps, meth }); // update-begin--author:sunjianlei---date:20250804---for:【issues/8593】修复列改变后内容不刷新 - const vxeColumnsRef = ref([]) + const vxeColumnsRef = ref(data.vxeColumns!.value || []) const watchColumnsDebounce = debounce(async () => { vxeColumnsRef.value = [] await nextTick() vxeColumnsRef.value = data.vxeColumns!.value }, 50) - watch(data.vxeColumns!, watchColumnsDebounce, {immediate: true}) + watch(data.vxeColumns!, watchColumnsDebounce) // update-end----author:sunjianlei---date:20250804---for:【issues/8593】修复列改变后内容不刷新 const vxeProps = computed(() => {