mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
This commit is contained in:
parent
164478def5
commit
4471bdff01
5 changed files with 91 additions and 21 deletions
|
|
@ -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});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue