From 9dd8d431fb83518e2248bd7c78f8d9a7e9179f0e Mon Sep 17 00:00:00 2001 From: fay Date: Thu, 27 Jul 2023 17:32:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8C=85=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/fineui/src/base/single/input/input.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fineui/src/base/single/input/input.js b/packages/fineui/src/base/single/input/input.js index 6809de761..fb950aaed 100644 --- a/packages/fineui/src/base/single/input/input.js +++ b/packages/fineui/src/base/single/input/input.js @@ -144,7 +144,7 @@ export class Input extends Single { _blur() { const blur = () => { if (!this.isValid() && this.options.quitChecker.apply(this, [trim(this.getValue())]) !== false) { - this.element.val(this._lastValidValue ? this._lastValidValue : this.element.val()); + this.element.val(this._lastValidValue ? this._lastValidValue : ""); this._checkValidationOnValueChange(); this._defaultState(); }