From f0e07557856abf2fe57a53a0f2b0e58288018e5f Mon Sep 17 00:00:00 2001 From: juzi <819872918@qq.com> Date: Tue, 28 Nov 2023 16:39:33 +0800 Subject: [PATCH] v1.0.5 --- package-lock.json | 12 ++++++------ src/views/home/introduce.vue | 13 ++++++++++++- src/views/searchBar/searchBar.vue | 23 +++++++++++++++++++---- 3 files changed, 37 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index 48f6342..9c17eea 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4007,9 +4007,9 @@ } }, "node_modules/code-brick-zj": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/code-brick-zj/-/code-brick-zj-1.0.3.tgz", - "integrity": "sha512-7RG5c6/85mnLh+XG06dSWJHe+c3xITQ+OD4c9+0H+9tMTV+gwiEGlor8hbl0HsLk1KLB4ERDhcl5bdmRr7mU/Q==" + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/code-brick-zj/-/code-brick-zj-1.0.5.tgz", + "integrity": "sha512-NEpNcbuwdVebH+eEY9Y1BY5MIfjBp51DMEPv4X3H90a6hGdnH9AUZ2b5umf6tQgUKP/OAR9T+90CGy8WuTsdIw==" }, "node_modules/color-convert": { "version": "1.9.3", @@ -14473,9 +14473,9 @@ } }, "code-brick-zj": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/code-brick-zj/-/code-brick-zj-1.0.3.tgz", - "integrity": "sha512-7RG5c6/85mnLh+XG06dSWJHe+c3xITQ+OD4c9+0H+9tMTV+gwiEGlor8hbl0HsLk1KLB4ERDhcl5bdmRr7mU/Q==" + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/code-brick-zj/-/code-brick-zj-1.0.5.tgz", + "integrity": "sha512-NEpNcbuwdVebH+eEY9Y1BY5MIfjBp51DMEPv4X3H90a6hGdnH9AUZ2b5umf6tQgUKP/OAR9T+90CGy8WuTsdIw==" }, "color-convert": { "version": "1.9.3", diff --git a/src/views/home/introduce.vue b/src/views/home/introduce.vue index b3d175c..c311c00 100644 --- a/src/views/home/introduce.vue +++ b/src/views/home/introduce.vue @@ -3,9 +3,20 @@

组件包目前封装常用的四个组件:表格,搜索区域,分页,对话框。包npm地址为:https://www.npmjs.com/package/code-brick-zj。

-

文档当前使用的组件包的版本为:1.0.3

+

文档当前使用的组件包的版本为:1.0.5

+ + +

修改

+

+ searchBar:select增加属性collapseTags将选中值按文字的形式展示 + multipleLimit来设置多选时用户最多可以选择的项目数 + placeholder有值显示,无值默认显示label +

+

组件版本号为:1.0.5

+
+

增加/修改

diff --git a/src/views/searchBar/searchBar.vue b/src/views/searchBar/searchBar.vue index 2c4f717..63ac3b8 100644 --- a/src/views/searchBar/searchBar.vue +++ b/src/views/searchBar/searchBar.vue @@ -64,6 +64,9 @@

select下拉框(选项默认是id和name,可以通过labelField,valueField去改取值的key)

+

+ 可以通过multiple:true来开启多选,collapseTags:true来将选中值按文字的形式展示,multipleLimit来设置多选时用户最多可以选择的项目数 +