perf: 支持搜索

This commit is contained in:
rd
2025-09-01 17:33:19 +08:00
parent dc358fb0e4
commit b1a6c6d6dc
2 changed files with 12 additions and 1 deletions

View File

@ -9,6 +9,7 @@
size="medium"
:placeholder="placeholder"
:allow-clear="allClear"
:allow-search="allowSearch"
:max-tag-count="maxTagCount"
@change="handleChange"
>
@ -45,6 +46,10 @@ const props = defineProps({
allClear: {
type: Boolean,
default: true,
},
allowSearch: {
type: Boolean,
default: false,
}
});