diff --git a/packages/components/src/components/input-number/shadow.tsx b/packages/components/src/components/input-number/shadow.tsx index b3c84671b2..e8acd21596 100644 --- a/packages/components/src/components/input-number/shadow.tsx +++ b/packages/components/src/components/input-number/shadow.tsx @@ -472,11 +472,7 @@ export class KolInputNumber implements InputNumberAPI, FocusableElement { @Watch('_value') public validateValue(value?: number | Iso8601 | null): void { - this.controller.validateValueEx(value, (v) => { - if (v === '' && this.inputRef) { - this.inputRef.value = ''; - } - }); + this.controller.validateValueEx(value); } public componentWillLoad(): void {