From 060251583266fc7a03805155e366a4f9d7aa8dc1 Mon Sep 17 00:00:00 2001 From: Hefeng <1057605508@qq.com> Date: Mon, 28 Aug 2023 13:29:54 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20fui-search-bar=20=20=20=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E6=9C=80=E5=A4=A7=E4=BD=8D=E6=95=B0=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/firstui/fui-search-bar/fui-search-bar.vue | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/components/firstui/fui-search-bar/fui-search-bar.vue b/components/firstui/fui-search-bar/fui-search-bar.vue index 140c50e..eb085cc 100644 --- a/components/firstui/fui-search-bar/fui-search-bar.vue +++ b/components/firstui/fui-search-bar/fui-search-bar.vue @@ -12,7 +12,7 @@ - @@ -52,10 +52,10 @@ background: { type: String, // #ifdef APP-NVUE - default: '#F1F4FA' + default: '#F1F4FA', // #endif // #ifndef APP-NVUE - default: '' + default: '', // #endif }, //搜索栏上下padding(padding-top,padding-bottom) @@ -143,7 +143,11 @@ fixed: { type: Boolean, default: false - } + }, + maxlength: { + type: [Number, String], + default: 30 + }, }, created() { this.val = this.value;