diff --git a/components/tabs/src/TabNavList/OperationNode.tsx b/components/tabs/src/TabNavList/OperationNode.tsx index b23b4d4b8..54358e056 100644 --- a/components/tabs/src/TabNavList/OperationNode.tsx +++ b/components/tabs/src/TabNavList/OperationNode.tsx @@ -121,6 +121,14 @@ export default defineComponent({ } }); + watch( + () => props.tabs.length, + val => { + if(!val) { + setOpen(false); + } + }); + return () => { const { prefixCls,