feat(Tabs): fix add scroll event target (#8734)

Co-authored-by: wukang <wukang@yuzhilin.net.cn>
This commit is contained in:
wukang0718
2021-05-21 15:45:07 +08:00
committed by GitHub
parent da938f0cc1
commit 92f44ea152

View File

@@ -444,7 +444,7 @@ export default defineComponent({
onActivated(setLine); onActivated(setLine);
onPopupReopen(setLine); onPopupReopen(setLine);
onMountedOrActivated(init); onMountedOrActivated(init);
useEventListener('scroll', onScroll, { target: scroller.value }); useEventListener('scroll', onScroll, { target: scroller });
linkChildren({ linkChildren({
props, props,