Skip to content

基于vue与element-ui组件中talbe实现的无限级联tree table。

Notifications You must be signed in to change notification settings

zuopf769/vue-tree-table-1

 
 

Repository files navigation

tree table

基于vue和element-ui中table实现的tree table,传入树形接口数据即可。可无限层级。

详细说明文档

详细说明文档,已发表在掘金

demo

tree table

方式说明

  • 主要依靠el-table中的:row-style="toggleDisplayTr" 方法实现,具体可看代码注释
  • formatConversion该方法将树形数据扁平化,并添加折叠相应字段以及标识
# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

For a detailed explanation on how things work, check out the guide and docs for vue-loader.

About

基于vue与element-ui组件中talbe实现的无限级联tree table。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 76.7%
  • Vue 22.6%
  • HTML 0.7%