From 6aec5fc4b53f6c64bbcebab44817dfb50520e225 Mon Sep 17 00:00:00 2001 From: juzi <819872918@qq.com> Date: Tue, 28 Nov 2023 16:34:58 +0800 Subject: [PATCH] =?UTF-8?q?select=E5=A4=9A=E9=80=89=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/components/SearchBar/SearchBar.vue | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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', {