diff --git a/package.json b/package.json index 61a9325..3375a07 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "code-brick-zj", - "version": "1.0.3", + "version": "1.0.5", "private": false, "description": "组件封装", "main": "index.js" diff --git a/src/components/SearchBar/SearchBar.vue b/src/components/SearchBar/SearchBar.vue index a84f700..78d0b7e 100644 --- a/src/components/SearchBar/SearchBar.vue +++ b/src/components/SearchBar/SearchBar.vue @@ -29,9 +29,11 @@ :size="item.size ? item.size : 'small'" :filterable="item.filterable ? item.filterable : 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" :style="item.width ? 'width:' + item.width + 'px' : 'width:200px'" - :placeholder="item.label" + :placeholder="item.placeholder ? item.placeholder :item.label" @change=" item.onchange ? $emit('select-changed', {