diff --git a/src/search/search.vue b/src/search/search.vue index 2b4b8af56..4872758af 100644 --- a/src/search/search.vue +++ b/src/search/search.vue @@ -78,7 +78,7 @@ export default defineComponent({ }; const onBlur = (value: any, context: InputBlurContext) => { - state.labelActive = true; + state.labelActive = !value; props.onBlur?.(value, { e: context.e }); };