Skip to content

Commit be9d448

Browse files
committed
fix: tabs moreIcon not work #4928
close #4928
1 parent fe54804 commit be9d448

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

components/tabs/src/TabNavList/index.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ import classNames from '../../../_util/classNames';
2828
import ResizeObserver from '../../../vc-resize-observer';
2929
import { toPx } from '../../../_util/util';
3030
import useRefs from '../../../_util/hooks/useRefs';
31+
import pick from 'lodash-es/pick';
32+
3133
const DEFAULT_SIZE = { width: 0, height: 0, left: 0, top: 0, right: 0 };
3234
const tabNavListProps = () => {
3335
return {
@@ -528,6 +530,7 @@ export default defineComponent({
528530
</ResizeObserver>
529531
<OperationNode
530532
{...props}
533+
v-slots={pick(slots, ['moreIcon'])}
531534
ref={operationsRef}
532535
prefixCls={pre}
533536
tabs={hiddenTabs.value}

0 commit comments

Comments
 (0)