Skip to content

Commit

Permalink
fix: 无效按键时不修改进度条
Browse files Browse the repository at this point in the history
  • Loading branch information
Gesrua authored and rocka committed Aug 14, 2020
1 parent 6831326 commit ab8466c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Slider/Slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ export default {
} else if (value < min) {
value = min;
}
this.$emit('change', value);
}
this.$emit('change', value);
},
handleMouseDown (e) {
if (this.disabled) return;
Expand Down

0 comments on commit ab8466c

Please sign in to comment.