优化slider #6007
This commit is contained in:
parent
54dc6ac4e7
commit
cd308e20d8
1 changed files with 4 additions and 4 deletions
|
@ -397,10 +397,10 @@
|
|||
this.currentValue = [...value];
|
||||
|
||||
if (!this.dragging) {
|
||||
if (this.currentValue[index] !== this.oldValue[index]) {
|
||||
this.emitChange();
|
||||
this.oldValue[index] = this.currentValue[index];
|
||||
}
|
||||
// if (this.currentValue[index] !== this.oldValue[index]) {
|
||||
this.emitChange();
|
||||
// this.oldValue[index] = this.currentValue[index];
|
||||
// }
|
||||
}
|
||||
},
|
||||
handleDecimal(pos,step){
|
||||
|
|
Loading…
Reference in a new issue