2019-01-12 03:33:27 +00:00
|
|
|
import Tree from './Tree';
|
|
|
|
import DirectoryTree from './DirectoryTree';
|
2019-08-28 02:50:19 +00:00
|
|
|
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;
|
2018-09-19 05:21:57 +00:00
|
|
|
/* istanbul ignore next */
|
2019-01-12 03:33:27 +00:00
|
|
|
Tree.install = function(Vue) {
|
2019-08-28 02:50:19 +00:00
|
|
|
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);
|
|
|
|
};
|
2018-09-19 05:21:57 +00:00
|
|
|
|
2019-01-12 03:33:27 +00:00
|
|
|
export default Tree;
|