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来设置多选时用户最多可以选择的项目数 +