perf: 逻辑调整
This commit is contained in:
@ -39,9 +39,7 @@ export default {
|
||||
);
|
||||
|
||||
const handleSubmit = () => {
|
||||
if (!props.loading) {
|
||||
emit('submit', localSearchValue.value);
|
||||
}
|
||||
emit('submit', localSearchValue.value);
|
||||
};
|
||||
const handleCancel = () => {
|
||||
emit('cancel');
|
||||
|
||||
Reference in New Issue
Block a user