Merge pull request #3400 from 2hu12/patch-1
Fix race condition for changing "currentValue"
This commit is contained in:
commit
38a3d11f29
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@
|
|||
watch: {
|
||||
value (val) {
|
||||
val = this.checkLimits(Array.isArray(val) ? val : [val]);
|
||||
if (val[0] !== this.currentValue[0] || val[1] !== this.currentValue[1]) {
|
||||
if (!this.dragging && (val[0] !== this.currentValue[0] || val[1] !== this.currentValue[1])) {
|
||||
this.currentValue = val;
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue