Vanessa 2024-04-12 10:18:45 +08:00
parent 541483ed29
commit 8cdcc98424
3 changed files with 49 additions and 60 deletions

View file

@ -310,7 +310,6 @@ export const openMenuPanel = (options: {
protyle: options.protyle,
data,
cellElements: options.cellElements,
type: "replace",
replaceValue,
blockElement: options.blockElement
});
@ -1103,8 +1102,7 @@ export const openMenuPanel = (options: {
protyle: options.protyle,
data,
cellElements: options.cellElements,
type: "addUpdate",
addUpdateValue: [value],
addValue: [value],
blockElement: options.blockElement
});
window.siyuan.menus.menu.remove();