mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-28 22:07:57 +08:00
Fix:修复快速拖动节点几次后会概率性报错的问题
This commit is contained in:
parent
2fef76c55c
commit
e81e0a5512
@ -204,7 +204,7 @@ class Drag extends Base {
|
||||
|
||||
// 检测重叠节点
|
||||
checkOverlapNode() {
|
||||
if (!this.drawTransform) {
|
||||
if (!this.drawTransform || !this.placeholder) {
|
||||
return
|
||||
}
|
||||
const { nodeDragPlaceholderMaxSize } = this.mindMap.opt
|
||||
|
||||
Loading…
Reference in New Issue
Block a user