File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 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';
1313import CloseOutlined from '@ant-design/icons-vue/CloseOutlined' ;
1414import CloseCircleOutlined from '@ant-design/icons-vue/CloseCircleOutlined' ;
1515import 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+
2017const TreeSelect = {
21- TreeNode : ATreeSelectNode ,
18+ TreeNode,
2219 SHOW_ALL ,
2320 SHOW_PARENT ,
2421 SHOW_CHILD ,
@@ -204,7 +201,7 @@ const TreeSelect = {
204201/* istanbul ignore next */
205202TreeSelect . install = function ( app ) {
206203 app . component ( TreeSelect . name , TreeSelect ) ;
207- app . component ( TreeSelect . TreeNode . name , TreeSelect . TreeNode ) ;
204+ app . component ( 'ATreeSelectNode' , TreeSelect . TreeNode ) ;
208205} ;
209206
210207export default TreeSelect ;
You can’t perform that action at this time.
0 commit comments