🎨 右键弹出文档树菜单时关闭浮窗

This commit is contained in:
Vanessa 2024-12-16 17:35:31 +08:00
parent 7a6b9b3050
commit e5ebab8894
2 changed files with 2 additions and 1 deletions

View file

@ -705,6 +705,7 @@ export const initFileMenu = (app: App, notebookId: string, pathString: string, l
separatorPosition: "top",
});
}
window.siyuan.menus.menu.element.setAttribute("data-name", "docTreeMore");
return window.siyuan.menus.menu;
};