z-xl-ui
v0.1.3
Published
<!-- * @Author: your name * @Date: 2020-11-18 16:54:14 * @LastEditTime: 2020-12-01 15:52:12 * @LastEditors: Please set LastEditors * @Description: In User Settings Edit * @FilePath: \z-ui\README.md --> # z-xl-ui ## multi-select ### 基于elementui 下拉多选组
Downloads
7
Readme
z-xl-ui
multi-select
基于elementui 下拉多选组件
参数
| Params | Type | Default | Description | | :------ | :------ | :------ | :------ | | selectData | Array |[] | 数据源 | | multiType | Boolean | false | 是否多选 | | defaultData | Array | [] | 默认选中 | | defaultProps | Object | {children:'children',label: 'label} | 数据源格式 | | btnSelect | Boolean | false | 顶部(全选,反选,不选)按钮是否显示 |
方法
| Events | Description | params | | :------ | :------ | :------ | | changeData | 选择时触发,返回选择后的内容 | 选择后的值 |
例子
<multi-select :selectData="selectData" :multiType="true" @changeData="headAuditChangeData" :defaultProps="{children:'children', label:'title'}">
Project setup
npm installCompiles and hot-reloads for development
npm run serveCompiles and minifies for production
npm run build