feat: add id property to contextMenu context #737
This commit is contained in:
@@ -159,7 +159,9 @@ export class ContextMenu {
|
|||||||
const originalElementList = this.draw.getOriginalElementList()
|
const originalElementList = this.draw.getOriginalElementList()
|
||||||
const originTableElement = originalElementList[index!] || null
|
const originTableElement = originalElementList[index!] || null
|
||||||
if (originTableElement) {
|
if (originTableElement) {
|
||||||
tableElement = zipElementList([originTableElement])[0]
|
tableElement = zipElementList([originTableElement], {
|
||||||
|
extraPickAttrs: ['id']
|
||||||
|
})[0]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 是否存在跨行/列
|
// 是否存在跨行/列
|
||||||
|
|||||||
Reference in New Issue
Block a user