Browse Source

BI-96744 fix: 快速修改编辑框值blur比keydown先处理

es6
windy 3 years ago
parent
commit
632afaf0f9
  1. 5
      src/base/single/input/input.js

5
src/base/single/input/input.js

@ -33,10 +33,7 @@ BI.Input = BI.inherit(BI.Single, {
"leading": true,
"trailing": false
});
this._blurDebounce = BI.debounce(BI.bind(this._blur, this), BI.EVENT_RESPONSE_TIME, {
"leading": true,
"trailing": false
});
this._blurDebounce = BI.debounce(BI.bind(this._blur, this), BI.EVENT_RESPONSE_TIME);
this.element
.keydown(function (e) {
inputEventValid = false;

Loading…
Cancel
Save