perf: 更新搜索

This commit is contained in:
rd
2025-07-05 09:48:15 +08:00
parent b6c7f74a90
commit 6e32de357f
6 changed files with 29 additions and 13 deletions

View File

@ -90,7 +90,10 @@ const groups = ref([]);
const operators = ref([]);
const handleSearch = () => {
emits('onSearch', props.query);
emits('update:query', props.query);
nextTick(() => {
emits('onSearch');
});
};
const handleReset = () => {