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;