# vue-big-tree **Repository Path**: luban-creative/vue-big-tree ## Basic Information - **Project Name**: vue-big-tree - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-07-16 - **Last Updated**: 2021-07-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # vue-big-tree 一个可以用来渲染海量数据的Vue树形组件 ## Install `npm i vue-big-tree --save` ## Use ```html ``` ## Attributes | 参数 | 说明 | 类型 | 可选 | 默认值 | | :-------- | --------:|-------:|-------:| :--: | | tree | 数据源 | Array | - | - | | defaultExpand | 是否默认展开 | Boolean | true/false | false | | option | 虚拟树配置 | Object | - | - | | timeout | 滚动节流 | Number | - | 17 | ### option | 参数 | 说明 | 类型 | 可选 | 默认值 | | :-------- | --------:|-------:|-------:| :--: | | height | 容器的高度 | Number | - | 500 | | itemHeight | 单个节点的高度 | Number | - | 25 | ### method #### 展开所有 `this.$refs.bigTree.collapseAll()` #### 折叠所有 `this.$refs.bigTree.expandAll()`