Feat:节点形状不存在时默认使用矩形形状
This commit is contained in:
parent
1b7aad3de2
commit
a4fe5e7765
@ -120,7 +120,7 @@ export default class Shape {
|
|||||||
node = extendShape.createShape(this.node)
|
node = extendShape.createShape(this.node)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return node
|
return node || this.createRect()
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取节点减去节点边框宽度、hover节点边框宽度后的尺寸
|
// 获取节点减去节点边框宽度、hover节点边框宽度后的尺寸
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user