mirror of https://github.com/ElemeFE/element
Slider: fix button jumping to previous value when clicked
parent
af030b62b0
commit
1552f87592
|
@ -133,6 +133,7 @@
|
||||||
this.startX = event.clientX;
|
this.startX = event.clientX;
|
||||||
}
|
}
|
||||||
this.startPosition = parseFloat(this.currentPosition);
|
this.startPosition = parseFloat(this.currentPosition);
|
||||||
|
this.newPosition = this.startPosition;
|
||||||
},
|
},
|
||||||
|
|
||||||
onDragging(event) {
|
onDragging(event) {
|
||||||
|
|
Loading…
Reference in New Issue