From 92f44ea15296c1ba64f0cbb07b8f1cf274f5eb51 Mon Sep 17 00:00:00 2001 From: wukang0718 <42261663+wukang0718@users.noreply.github.com> Date: Fri, 21 May 2021 15:45:07 +0800 Subject: [PATCH] feat(Tabs): fix add scroll event target (#8734) Co-authored-by: wukang --- src/tabs/Tabs.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tabs/Tabs.tsx b/src/tabs/Tabs.tsx index 7078a5a17..2be3a5798 100644 --- a/src/tabs/Tabs.tsx +++ b/src/tabs/Tabs.tsx @@ -444,7 +444,7 @@ export default defineComponent({ onActivated(setLine); onPopupReopen(setLine); onMountedOrActivated(init); - useEventListener('scroll', onScroll, { target: scroller.value }); + useEventListener('scroll', onScroll, { target: scroller }); linkChildren({ props,