File tree 1 file changed +3
-6
lines changed
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -13,12 +13,9 @@ import DownOutlined from '@ant-design/icons-vue/DownOutlined';
13
13
import CloseOutlined from '@ant-design/icons-vue/CloseOutlined' ;
14
14
import CloseCircleOutlined from '@ant-design/icons-vue/CloseCircleOutlined' ;
15
15
import omit from 'omit.js' ;
16
- const ATreeSelectNode = function ATreeSelectNode ( props , ctx ) {
17
- return TreeNode ( props , ctx ) ;
18
- } ;
19
- Object . keys ( TreeNode ) . forEach ( key => ( ATreeSelectNode [ key ] = TreeNode [ key ] ) ) ;
16
+
20
17
const TreeSelect = {
21
- TreeNode : ATreeSelectNode ,
18
+ TreeNode,
22
19
SHOW_ALL ,
23
20
SHOW_PARENT ,
24
21
SHOW_CHILD ,
@@ -204,7 +201,7 @@ const TreeSelect = {
204
201
/* istanbul ignore next */
205
202
TreeSelect . install = function ( app ) {
206
203
app . component ( TreeSelect . name , TreeSelect ) ;
207
- app . component ( TreeSelect . TreeNode . name , TreeSelect . TreeNode ) ;
204
+ app . component ( 'ATreeSelectNode' , TreeSelect . TreeNode ) ;
208
205
} ;
209
206
210
207
export default TreeSelect ;
You can’t perform that action at this time.
0 commit comments