Commit 8123ee1c authored by 杨奕's avatar 杨奕 Committed by baiyaaaaa

Slider: fix change event (#1810)

parent 71a3b5ad
...@@ -195,9 +195,9 @@ ...@@ -195,9 +195,9 @@
*/ */
setTimeout(() => { setTimeout(() => {
this.dragging = false; this.dragging = false;
}, 0);
this.$refs.tooltip.showPopper = false; this.$refs.tooltip.showPopper = false;
this.setPosition(this.newPos); this.setPosition(this.newPos);
}, 0);
window.removeEventListener('mousemove', this.onDragging); window.removeEventListener('mousemove', this.onDragging);
window.removeEventListener('mouseup', this.onDragEnd); window.removeEventListener('mouseup', this.onDragEnd);
window.removeEventListener('contextmenu', this.onDragEnd); window.removeEventListener('contextmenu', this.onDragEnd);
......
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