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, "leading": true,
"trailing": false "trailing": false
}); });
this._blurDebounce = BI.debounce(BI.bind(this._blur, this), BI.EVENT_RESPONSE_TIME, { this._blurDebounce = BI.debounce(BI.bind(this._blur, this), BI.EVENT_RESPONSE_TIME);
"leading": true,
"trailing": false
});
this.element this.element
.keydown(function (e) { .keydown(function (e) {
inputEventValid = false; inputEventValid = false;

Loading…
Cancel
Save