Compare commits

..

2 Commits

Author SHA1 Message Date
c0184c4078 Merge pull request 'select多选样式' (#8) from zjl into develop
Reviewed-on: #8
2023-11-28 16:40:14 +08:00
6aec5fc4b5 select多选样式 2023-11-28 16:34:58 +08:00
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "code-brick-zj", "name": "code-brick-zj",
"version": "1.0.3", "version": "1.0.5",
"private": false, "private": false,
"description": "组件封装", "description": "组件封装",
"main": "index.js" "main": "index.js"

View File

@ -29,9 +29,11 @@
:size="item.size ? item.size : 'small'" :size="item.size ? item.size : 'small'"
:filterable="item.filterable ? item.filterable : false" :filterable="item.filterable ? item.filterable : false"
:multiple="item.multiple ? item.multiple : false" :multiple="item.multiple ? item.multiple : false"
:collapse-tags="item.collapseTags ? item.collapseTags : false"
:multiple-limit="item.multipleLimit ? item.multipleLimit : 0"
:clearable="item.clearable === false ? false : true" :clearable="item.clearable === false ? false : true"
:style="item.width ? 'width:' + item.width + 'px' : 'width:200px'" :style="item.width ? 'width:' + item.width + 'px' : 'width:200px'"
:placeholder="item.label" :placeholder="item.placeholder ? item.placeholder :item.label"
@change=" @change="
item.onchange item.onchange
? $emit('select-changed', { ? $emit('select-changed', {