Fix:修复自由拖拽时,前进后退操作对节点位置不生效的问题

This commit is contained in:
街角小林 2024-03-08 11:44:29 +08:00
parent 6055a04ec5
commit 7bd73ba157

View File

@ -203,6 +203,8 @@ class Node {
// 计算节点的宽高
getSize() {
this.customLeft = this.getData('customLeft') || undefined
this.customTop = this.getData('customTop') || undefined
this.updateGeneralization()
this.createNodeData()
let { width, height } = this.getNodeRect()