This commit is contained in:
zxr
2026-03-27 19:26:10 +08:00
parent 7e46f8b4e1
commit 519759ea58
25 changed files with 1409 additions and 278 deletions

View File

@@ -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">