perf: 支持搜索
This commit is contained in:
@ -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,
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user