fix:control actived error at table boundary

This commit is contained in:
黄云飞
2022-04-13 17:45:58 +08:00
parent 847207fa64
commit 44086c309c
+1 -1
View File
@@ -59,7 +59,7 @@ export class RangeManager {
if (~startIndex && ~endIndex && startIndex === startIndex) {
const elementList = this.draw.getElementList()
const element = elementList[startIndex]
if (element.type === ElementType.CONTROL) {
if (element?.type === ElementType.CONTROL) {
control.initControl()
return
}