Vanessa 2024-01-24 15:32:29 +08:00
parent 164478def5
commit 4471bdff01
5 changed files with 91 additions and 21 deletions

View file

@ -117,7 +117,12 @@ export const openMenuPanel = (options: {
setPosition(menuElement, cellRect.left, cellRect.bottom, cellRect.height);
}, Constants.TIMEOUT_LOAD); // 等待加载
} else if (options.type === "relation") {
bindRelationEvent({menuElement, cellElements: options.cellElements});
bindRelationEvent({
menuElement,
cellElements: options.cellElements,
protyle: options.protyle,
blockElement: options.blockElement
});
} else if (options.type === "rollup") {
bindRollupEvent({protyle: options.protyle, data, menuElement});
}