fix: table fixed shadow error, close #5996
parent
23a8368894
commit
775e48d428
|
@ -490,11 +490,15 @@ export default defineComponent<TableProps<DefaultRecordType>>({
|
||||||
}, 100);
|
}, 100);
|
||||||
};
|
};
|
||||||
|
|
||||||
watch([horizonScroll, () => props.data, () => props.columns], () => {
|
watch(
|
||||||
if (horizonScroll.value) {
|
[horizonScroll, () => props.data, () => props.columns],
|
||||||
triggerOnScroll();
|
() => {
|
||||||
}
|
if (horizonScroll.value) {
|
||||||
});
|
triggerOnScroll();
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{ flush: 'post' },
|
||||||
|
);
|
||||||
|
|
||||||
const [scrollbarSize, setScrollbarSize] = useState(0);
|
const [scrollbarSize, setScrollbarSize] = useState(0);
|
||||||
useProvideSticky();
|
useProvideSticky();
|
||||||
|
|
Loading…
Reference in New Issue