File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -4,13 +4,11 @@ import CloseOutlined from '@ant-design/icons-vue/CloseOutlined';
4
4
import PlusOutlined from '@ant-design/icons-vue/PlusOutlined' ;
5
5
import VcTabs , { TabPane } from '../vc-tabs/src' ;
6
6
import TabContent from '../vc-tabs/src/TabContent' ;
7
- import { isFlexSupported } from '../_util/styleChecker' ;
8
7
import PropTypes , { withUndefined } from '../_util/vue-types' ;
9
8
import {
10
9
getComponent ,
11
10
getOptionProps ,
12
11
filterEmpty ,
13
- findDOMNode ,
14
12
getPropsData ,
15
13
getSlot ,
16
14
} from '../_util/props-util' ;
@@ -60,13 +58,6 @@ export default defineComponent({
60
58
configProvider : inject ( 'configProvider' , defaultConfigProvider ) ,
61
59
} ;
62
60
} ,
63
- mounted ( ) {
64
- const NO_FLEX = ' no-flex' ;
65
- const tabNode = findDOMNode ( this ) ;
66
- if ( tabNode && ! isFlexSupported && tabNode . className . indexOf ( NO_FLEX ) === - 1 ) {
67
- tabNode . className += NO_FLEX ;
68
- }
69
- } ,
70
61
methods : {
71
62
removeTab ( targetKey : string , e : MouseEvent ) {
72
63
e . stopPropagation ( ) ;
You can’t perform that action at this time.
0 commit comments