fix: 双击时容易误触发刷选的问题

This commit is contained in:
Xu Zhimeng 2023-12-13 10:04:54 +08:00
parent d689449fca
commit 53f0c25cdd

View File

@ -1206,12 +1206,9 @@ export default {
}, },
handleMouseUp() { handleMouseUp() {
if (this.timer) { this.$nextTick(() => {
window.clearTimeout(this.timer)
}
this.timer = setTimeout(() => {
this.clearBrush() this.clearBrush()
}, 0) })
}, },
clearBrush() { clearBrush() {