fix
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
:options="item.options"
|
||||
:placeholder="item.placeholder || '请选择'"
|
||||
:disabled="item.disabled"
|
||||
:allow-search="item.allowSearch"
|
||||
@search="handleSelectSearch(item, $event)"
|
||||
allow-clear
|
||||
/>
|
||||
<!-- 日期范围选择器 -->
|
||||
@@ -134,6 +136,10 @@ const handleSearch = () => {
|
||||
const handleReset = () => {
|
||||
emit('reset')
|
||||
}
|
||||
|
||||
const handleSelectSearch = (item: FormItem, keyword: string) => {
|
||||
item.onSearch?.(keyword)
|
||||
}
|
||||
</script>
|
||||
|
||||
<script lang="ts">
|
||||
|
||||
Reference in New Issue
Block a user