fix undefined modelValue in slider
parent
c839e2eab8
commit
a6326b4cb4
|
@ -144,7 +144,7 @@ export default {
|
||||||
this.dragging = true;
|
this.dragging = true;
|
||||||
this.updateDomData();
|
this.updateDomData();
|
||||||
|
|
||||||
if (this.range && this.modelValue[0] === this.max) {
|
if (this.range && this.value[0] === this.max) {
|
||||||
this.handleIndex = 0;
|
this.handleIndex = 0;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue