# vue-ztree-2.0 **Repository Path**: dv2/vue-ztree-2.0 ## Basic Information - **Project Name**: vue-ztree-2.0 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2017-12-04 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # vue-ztree-2.0 [vue-ztree-2 演示预览地址](https://lisiyizu.github.io/vue-ztree-2) ### Vue小伙伴交流群: 590688906 ![](vue-ztree-2.0.png) 通过以下demo来实现 ### app.vue代码如下 ```html ``` ###vue-ztree/初始化参数
参数 类型 默认值 描述
list Array - 树的结构数据源
func Function - 点击节点事件
contextmenu Function - 右击节点事件
expand Function - 点击展开/收起的方法(一般在异步加载的时候使用, 非异步加载传null)
is-open Bealoon true 是否展开树
## Build Setup ``` bash # install dependencies npm install # serve with hot reload at localhost:8080 npm run dev # build for production with minification npm run build ``` For detailed explanation on how things work, consult the [docs for vue-loader](http://vuejs.github.io/vue-loader).