Commit efe139ed authored by 杨南鸿's avatar 杨南鸿

修改input防抖函数时间

parent 16ef7e4e
......@@ -367,11 +367,12 @@
clearTimeout(this.focusTimer);
this.focusTimer = setTimeout(() => {
console.log(123, event.target.value);
this.$emit('input', event.target.value);
// ensure native input value is controlled
// see: https://github.com/ElemeFE/element/issues/12850
this.$nextTick(this.setNativeInputValue);
}, 500);
}, 50);
},
handleChange(event) {
this.$emit('change', event.target.value);
......
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