fix: 双击时容易误触发刷选的问题
This commit is contained in:
parent
d689449fca
commit
53f0c25cdd
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user