Fix:修复快速拖动节点几次后会概率性报错的问题

This commit is contained in:
wanglin2 2023-08-09 17:12:55 +08:00
parent 2fef76c55c
commit e81e0a5512

View File

@ -204,7 +204,7 @@ class Drag extends Base {
// 检测重叠节点
checkOverlapNode() {
if (!this.drawTransform) {
if (!this.drawTransform || !this.placeholder) {
return
}
const { nodeDragPlaceholderMaxSize } = this.mindMap.opt