Skip to content

Commit

Permalink
优化slider iview#6007
Browse files Browse the repository at this point in the history
  • Loading branch information
xinxin.li committed Dec 10, 2019
1 parent 54dc6ac commit cd308e2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/slider/slider.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down

0 comments on commit cd308e2

Please sign in to comment.