1.0.4 • Published 1 year ago

xs-sel-tree v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

xs-sel-tree

This component is a composite component for Select and Tree of ElementPlus

npm i xs-sel-tree -S
// main.js or main.ts
import SelectTree from 'xs-sel-tree'
import '../node_modules/xs-sel-tree/style.css'
// ...
app.use(SelectTree)

compoentName: SelectTree

<SelectTree
  :options=[{}, ...]
  :defaultProps="{children: 'xxx', label: 'xxxx'}"
  @getVal="getVal(val)"
  :nodeKey="'id'"
/>
<!-- 可选参数:selWidth  类型:String 默认:'220px' 描述:选框宽度 -->
<!-- 可选参数:maxCol  类型:Number 默认:3 描述:展示的选中标签tag的数量 -->
1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago