You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() |
1 year ago | |
---|---|---|
.. | ||
components/zxz-uni-data-select | 1 year ago | |
changelog.md | 1 year ago | |
package.json | 1 year ago | |
readme.md | 1 year ago |
readme.md
DataSelect 下拉框选择器
组件名:zxz-uni-data-select 代码块:
zxz-uni-data-select
当选项过多时,使用下拉菜单展示并选择内容
API
zxz-uni-data-select Props
属性名 | 类型 | 默认值 | 说明 |
---|---|---|---|
v-model | String、Array、Number | - | 选中项绑定值 |
multiple | Boolean | false | 是否多选 |
disabled | Boolean | false | 是否禁用 |
dataKey | String | "key" | 作为 key 唯一标识的键名 |
dataValue | String | "value" | 作为 value 唯一标识的键名 |
collapseTags | Boolean | false | 多选时是否将选中值按文字的形式展示 |
collapseTagsNum | Number | 1 | 多选时选中值按文字的形式展示的数量 |
localdata | Array | - | 下拉列表本地数据 |
label | String | - | 左侧标题 |
placeholder | String | "请选择" | 输入框的提示文字 |
emptyTips | String | "无选项" | 无选项提示 |
clear | Boolean | true | 是否清空 |
format | String | - | 格式化输出 用法 field="_id as value, version as text, uni_platform as label" format="{label} - {text}" |