Commit 55d3beef authored by 杨南鸿's avatar 杨南鸿

代码格式问题

parent 86cc6aec
......@@ -139,7 +139,7 @@
focused: false,
isComposing: false,
passwordVisible: false,
task:null
task: null
};
},
......@@ -365,17 +365,15 @@
handleInput(event, refresh) {
// should not emit input during composition
// see: https://github.com/ElemeFE/element/issues/10516
//console.log(123, event.target.value);
//console.log(this.isComposing, this.lazy, !refresh);
if (this.isComposing || (this.lazy && !refresh)){
this.isInput = true
let _this = this
clearTimeout(_this.task)
if (this.isComposing || (this.lazy && !refresh)) {
this.isInput = true;
let _this = this;
clearTimeout(_this.task);
_this.task = setTimeout(() => {
this.handleInput(event, true);
this.handleInput(event, true);
}, 1500);
return;
}
}
// hack for https://github.com/ElemeFE/element/issues/8548
// should remove the following line when we don't support IE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment