设置delay 延迟筛选执行不起作用,我看了一下代码,可能是input模块有一处代码有问题 ,这个if 是否反了 不是ie6-8 执行else模块,请确认一下 ,下个版本希望完善哦 3qo
if (!lteIE9) {
input.on('input.autocomplete', wrapFn(this._change, this));
} else {
var that = this,
events = ['keydown.autocomplete', 'keypress.autocomplete', 'cut.autocomplete', 'paste.autocomplete'].join(' ');
input.on(events, wrapFn(function (e) {
if (specialKeyCodeMap[e.which]) return;
clearTimeout(timer);
timer = setTimeout(function () {
that._change.call(that, e);
}, this.get('delay'));
}, this));
}
设置delay 延迟筛选执行不起作用,我看了一下代码,可能是input模块有一处代码有问题 ,这个if 是否反了 不是ie6-8 执行else模块,请确认一下 ,下个版本希望完善哦 3qo
if (!lteIE9) {
input.on('input.autocomplete', wrapFn(this._change, this));
} else {
var that = this,
events = ['keydown.autocomplete', 'keypress.autocomplete', 'cut.autocomplete', 'paste.autocomplete'].join(' ');