0.0.1 • Published 2 years ago

chv2 v0.0.1

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

安装

npm install chv2 -S

引入

import Vue from 'vue';
import chv2 from 'chv2';

Vue.use(chv2);

Drop Attributes

参数描述类型可选值默认值
visible是否限制下拉boolean-true
fixedIndex下拉元素层级number-1

selectMultiple Attributes

参数描述类型可选值默认值
placeholder占位符string-请选择
columns列配置项,具体见下表array-null
data选项数据array-null
value选中的值array,string,number--
multiple是否多选boolean--
remoteMethod远程搜索,返回Promisefunction-null
msg远程搜索时回显的文案string--
disabled是否禁用boolean-false
clearable是否可以清空选项boolean-false
fixedIndex下拉元素层级number-100
size选中项个数最大值,null不限制number-null

columns

参数描述类型可选值默认值
title列标题string--
key列取值的字段名string--
width列宽string--
isLabel是否作为标题过滤boolean--
isValue是否作为值过滤boolean--
0.0.1

2 years ago