diff --git a/packages/vant/src/tabs/Tabs.tsx b/packages/vant/src/tabs/Tabs.tsx index 7e059a984..f3e4e424c 100644 --- a/packages/vant/src/tabs/Tabs.tsx +++ b/packages/vant/src/tabs/Tabs.tsx @@ -295,13 +295,6 @@ export default defineComponent({ const { title, disabled } = children[index]; const name = getTabName(children[index], index); - emit('click-tab', { - name, - title, - event, - disabled, - }); - if (disabled) { // @deprecated // should be removed in next major version @@ -321,6 +314,13 @@ export default defineComponent({ route(item as ComponentPublicInstance); } + + emit('click-tab', { + name, + title, + event, + disabled, + }); }; const onStickyScroll = (params: {