Skip to content

Commit

Permalink
修复点击时间段后立即setTime不生效的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
wanglin2 committed Jan 13, 2023
1 parent 6e1877b commit 971a263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/src/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -545,8 +545,8 @@ export default {
Math.abs(pos[0] - this.mousedownX) <= this.maxClickDistance &&
Math.abs(pos[1] - this.mousedownY) <= this.maxClickDistance
) {
this.onClick(...pos)
reset()
this.onClick(...pos)
return
}
if (this.mousedown && this.enableDrag) {
Expand Down

0 comments on commit 971a263

Please sign in to comment.