File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ import type { App, Plugin } from 'vue';
2
2
import Tabs , { TabPane } from './src' ;
3
3
export type { TabsProps , TabPaneProps } from './src' ;
4
4
5
- Tabs . TabPane = { ... TabPane , name : 'ATabPane' , __ANT_TAB_PANE : true } ;
5
+ Tabs . TabPane = TabPane ;
6
6
7
7
/* istanbul ignore next */
8
8
Tabs . install = function ( app : App ) {
9
9
app . component ( Tabs . name , Tabs ) ;
10
- app . component ( Tabs . TabPane . name , Tabs . TabPane ) ;
10
+ app . component ( TabPane . name , TabPane ) ;
11
11
return app ;
12
12
} ;
13
13
Original file line number Diff line number Diff line change @@ -20,8 +20,9 @@ export interface TabPaneProps {
20
20
}
21
21
22
22
export default defineComponent ( {
23
- name : 'TabPane ' ,
23
+ name : 'ATabPane ' ,
24
24
inheritAttrs : false ,
25
+ __ANT_TAB_PANE : true ,
25
26
props : {
26
27
tab : PropTypes . any ,
27
28
disabled : { type : Boolean } ,
You can’t perform that action at this time.
0 commit comments