mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-03 20:58:09 +08:00
Slider: fix slider positioning
This commit is contained in:
parent
91613ba59d
commit
adaec8199f
@ -110,7 +110,7 @@
|
||||
onDragStart(event) {
|
||||
this.dragging = true;
|
||||
this.startX = event.clientX;
|
||||
this.startPosition = parseInt(this.currentPosition, 10);
|
||||
this.startPosition = parseFloat(this.currentPosition);
|
||||
},
|
||||
|
||||
onDragging(event) {
|
||||
|
Loading…
Reference in New Issue
Block a user