perf: 逻辑调整

This commit is contained in:
rd
2025-08-21 11:40:36 +08:00
parent 55166ff580
commit df01af0656
5 changed files with 66 additions and 21 deletions

View File

@ -39,9 +39,7 @@ export default {
);
const handleSubmit = () => {
if (!props.loading) {
emit('submit', localSearchValue.value);
}
emit('submit', localSearchValue.value);
};
const handleCancel = () => {
emit('cancel');