We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2b6eb9 commit 531ae16Copy full SHA for 531ae16
components/tabs/src/TabNavList/OperationNode.tsx
@@ -142,6 +142,7 @@ export default defineComponent({
142
onTabClick,
143
popupClassName,
144
} = props;
145
+ if (!tabs.length) return null;
146
const dropdownPrefix = `${prefixCls}-dropdown`;
147
148
const dropdownAriaLabel = locale?.dropdownAriaLabel;
typings/global.d.ts
@@ -266,6 +266,8 @@ declare module 'vue' {
266
ABackTop: typeof import('ant-design-vue')['BackTop'];
267
268
AWatermark: typeof import('ant-design-vue')['Watermark'];
269
+
270
+ AStyleProvider: typeof import('ant-design-vue')['StyleProvider'];
271
}
272
273
export {};
0 commit comments