From 4d13746fc2807ea8d0b73e4ffe8f4d7e3e9295f9 Mon Sep 17 00:00:00 2001 From: iapyang Date: Mon, 7 Feb 2022 14:12:34 +0800 Subject: [PATCH 1/2] auto upgrade version to 2.0.20220207141231 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1876fbd2c..8e296711f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fineui", - "version": "2.0.20220125133212", + "version": "2.0.20220207141231", "description": "fineui", "main": "dist/fineui.min.js", "types": "dist/lib/index.d.ts", From 1a1378467bc045a3faea608110770d57fd088e12 Mon Sep 17 00:00:00 2001 From: iapyang Date: Thu, 10 Feb 2022 17:09:58 +0800 Subject: [PATCH 2/2] =?UTF-8?q?REPORT-65865=20fix:=20=E7=BC=A9=E7=9F=AD?= =?UTF-8?q?=E5=BB=B6=E8=BF=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/single/input/input.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/base/single/input/input.js b/src/base/single/input/input.js index 837d6d205..41e1ca0de 100644 --- a/src/base/single/input/input.js +++ b/src/base/single/input/input.js @@ -24,7 +24,7 @@ BI.Input = BI.inherit(BI.Single, { var _keydown = BI.debounce(function (keyCode) { self.onKeyDown(keyCode, ctrlKey); self._keydown_ = false; - }, 300); + }, BI.EVENT_RESPONSE_TIME); var _clk = BI.debounce(BI.bind(this._click, this), BI.EVENT_RESPONSE_TIME, { "leading": true, "trailing": false @@ -96,7 +96,7 @@ BI.Input = BI.inherit(BI.Single, { _blur: function () { var self = this; if (self._keydown_ === true) { - BI.delay(blur, 300); + BI.delay(blur, BI.EVENT_RESPONSE_TIME); } else { blur(); }