mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-17 22:08:25 +08:00
Feat:节点形状不存在时默认使用矩形形状
This commit is contained in:
@@ -120,7 +120,7 @@ export default class Shape {
|
||||
node = extendShape.createShape(this.node)
|
||||
}
|
||||
}
|
||||
return node
|
||||
return node || this.createRect()
|
||||
}
|
||||
|
||||
// 获取节点减去节点边框宽度、hover节点边框宽度后的尺寸
|
||||
|
||||
Reference in New Issue
Block a user