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

14 lines
364 B
Vue
Raw Normal View History

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