mirror of
https://github.com/jeecgboot/jeecg-boot.git
synced 2025-09-08 07:18:03 +00:00
【JVXETable】修复首屏加载速度
This commit is contained in:
@@ -117,13 +117,13 @@ export function useFinallyProps(props: JVxeTableProps, data: JVxeDataProps, meth
|
|||||||
});
|
});
|
||||||
|
|
||||||
// update-begin--author:sunjianlei---date:20250804---for:【issues/8593】修复列改变后内容不刷新
|
// update-begin--author:sunjianlei---date:20250804---for:【issues/8593】修复列改变后内容不刷新
|
||||||
const vxeColumnsRef = ref([])
|
const vxeColumnsRef = ref(data.vxeColumns!.value || [])
|
||||||
const watchColumnsDebounce = debounce(async () => {
|
const watchColumnsDebounce = debounce(async () => {
|
||||||
vxeColumnsRef.value = []
|
vxeColumnsRef.value = []
|
||||||
await nextTick()
|
await nextTick()
|
||||||
vxeColumnsRef.value = data.vxeColumns!.value
|
vxeColumnsRef.value = data.vxeColumns!.value
|
||||||
}, 50)
|
}, 50)
|
||||||
watch(data.vxeColumns!, watchColumnsDebounce, {immediate: true})
|
watch(data.vxeColumns!, watchColumnsDebounce)
|
||||||
// update-end----author:sunjianlei---date:20250804---for:【issues/8593】修复列改变后内容不刷新
|
// update-end----author:sunjianlei---date:20250804---for:【issues/8593】修复列改变后内容不刷新
|
||||||
|
|
||||||
const vxeProps = computed(() => {
|
const vxeProps = computed(() => {
|
||||||
|
Reference in New Issue
Block a user