Fix:修复快速拖动节点几次后会概率性报错的问题
This commit is contained in:
parent
2fef76c55c
commit
e81e0a5512
@ -204,7 +204,7 @@ class Drag extends Base {
|
|||||||
|
|
||||||
// 检测重叠节点
|
// 检测重叠节点
|
||||||
checkOverlapNode() {
|
checkOverlapNode() {
|
||||||
if (!this.drawTransform) {
|
if (!this.drawTransform || !this.placeholder) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
const { nodeDragPlaceholderMaxSize } = this.mindMap.opt
|
const { nodeDragPlaceholderMaxSize } = this.mindMap.opt
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user