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

View File

@ -46,7 +46,13 @@
<div class="filter-row-item"> <div class="filter-row-item">
<span class="label">运营人员</span> <span class="label">运营人员</span>
<a-space class="w-160px"> <a-space class="w-160px">
<CommonSelect v-model="query.operator_id" :multiple="false" :options="operators" @change="handleSearch" /> <CommonSelect
v-model="query.operator_id"
allowSearch
:multiple="false"
:options="operators"
@change="handleSearch"
/>
</a-space> </a-space>
</div> </div>
</div> </div>