mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-02 12:07:54 +08:00
fix: table fixed shadow error, close #5996
This commit is contained in:
parent
23a8368894
commit
775e48d428
@ -490,11 +490,15 @@ export default defineComponent<TableProps<DefaultRecordType>>({
|
||||
}, 100);
|
||||
};
|
||||
|
||||
watch([horizonScroll, () => props.data, () => props.columns], () => {
|
||||
watch(
|
||||
[horizonScroll, () => props.data, () => props.columns],
|
||||
() => {
|
||||
if (horizonScroll.value) {
|
||||
triggerOnScroll();
|
||||
}
|
||||
});
|
||||
},
|
||||
{ flush: 'post' },
|
||||
);
|
||||
|
||||
const [scrollbarSize, setScrollbarSize] = useState(0);
|
||||
useProvideSticky();
|
||||
|
Loading…
Reference in New Issue
Block a user