Skip to content

waiaan/layui-dropdown-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

layui-dropdown-tree

基于layui的下拉多选树组件,具体用法见demo

avatar avatar

参数说明

dropdownTree({
  // 需要渲染的根元素
  el: '#region2',
  // 是否只选择叶子节点
  onlyLeaf: false,
  // 数据中用来显示在标签中的字段
  nodeProps: {
    label: 'label'
  },
  // 参数同layui的tree组件
  tree: {
    data: treeData
  }
})

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published