插件名称 | vue-org-tree |
---|---|
版本号 | v1.3.5 |
发布时间 | 2020年6月21日 |
插件作者 | hukaibaihu |
Vue.js 2.x的动态,可扩展,水平/垂直组织树组件。
v1.3.5(01/19/2021)
v1.3.4(07/26/2020)
2020/06/18
# Yarn
$ yarn add vue-org-tree
# NPM
$ npm install vue-org-tree --save
import Vue from 'vue'
import OrgTree from 'vue-org-tree'
data: {
type: Object,
required: true
},
props: {
type: Object,
default: () => ({
label: 'label',
expand: 'expand',
children: 'children'
})
},
horizontal: Boolean,
collapsable: Boolean,
renderContent: Function,
labelWidth: [String, Number],
labelClassName: [Function, String]