mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-02 20:18:22 +08:00
15 lines
357 B
Vue
15 lines
357 B
Vue
|
|
import Tree from './Tree'
|
|
import DirectoryTree from './DirectoryTree'
|
|
|
|
Tree.TreeNode.name = 'ATreeNode'
|
|
Tree.DirectoryTree = DirectoryTree
|
|
/* istanbul ignore next */
|
|
Tree.install = function (Vue) {
|
|
Vue.component(Tree.name, Tree)
|
|
Vue.component(Tree.TreeNode.name, Tree.TreeNode)
|
|
Vue.component(DirectoryTree.name, DirectoryTree)
|
|
}
|
|
|
|
export default Tree
|