fix: 双击时容易误触发刷选的问题
This commit is contained in:
parent
d689449fca
commit
53f0c25cdd
|
@ -1206,12 +1206,9 @@ export default {
|
|||
},
|
||||
|
||||
handleMouseUp() {
|
||||
if (this.timer) {
|
||||
window.clearTimeout(this.timer)
|
||||
}
|
||||
this.timer = setTimeout(() => {
|
||||
this.$nextTick(() => {
|
||||
this.clearBrush()
|
||||
}, 0)
|
||||
})
|
||||
},
|
||||
|
||||
clearBrush() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user