ant-design-vue/components/tree/index.jsx

16 lines
409 B
Vue
Raw Normal View History

2019-01-12 03:33:27 +00:00
import Tree from './Tree';
import DirectoryTree from './DirectoryTree';
import Base from '../base';
2018-04-13 10:58:58 +00:00
2019-01-12 03:33:27 +00:00
Tree.TreeNode.name = 'ATreeNode';
Tree.DirectoryTree = DirectoryTree;
/* istanbul ignore next */
2019-01-12 03:33:27 +00:00
Tree.install = function(Vue) {
Vue.use(Base);
2019-01-12 03:33:27 +00:00
Vue.component(Tree.name, Tree);
Vue.component(Tree.TreeNode.name, Tree.TreeNode);
Vue.component(DirectoryTree.name, DirectoryTree);
};
2019-01-12 03:33:27 +00:00
export default Tree;