File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,22 +17,22 @@ export default {
17
17
} ,
18
18
setup ( ) {
19
19
return {
20
- _isActived : undefined ,
20
+ isActived : undefined ,
21
21
sentinelContext : inject ( 'sentinelContext' , { } ) ,
22
22
} ;
23
23
} ,
24
24
render ( ) {
25
25
const { destroyInactiveTabPane, active, forceRender, rootPrefixCls } = this . $props ;
26
26
const children = getSlot ( this ) ;
27
27
const placeholder = getComponent ( this , 'placeholder' ) ;
28
- this . _isActived = this . _isActived || active ;
28
+ this . isActived = this . isActived || active ;
29
29
const prefixCls = `${ rootPrefixCls } -tabpane` ;
30
30
const cls = {
31
31
[ prefixCls ] : 1 ,
32
32
[ `${ prefixCls } -inactive` ] : ! active ,
33
33
[ `${ prefixCls } -active` ] : active ,
34
34
} ;
35
- const isRender = destroyInactiveTabPane ? active : this . _isActived ;
35
+ const isRender = destroyInactiveTabPane ? active : this . isActived ;
36
36
const shouldRender = isRender || forceRender ;
37
37
const {
38
38
sentinelStart,
You can’t perform that action at this time.
0 commit comments