This commit is contained in:
Vanessa 2025-02-16 19:03:38 +08:00
parent 46b004129d
commit eb0a3fc4e8
4 changed files with 6 additions and 6 deletions

View file

@ -722,7 +722,7 @@ export const genImportMenu = (notebookId: string, pathString: string) => {
files = (getDockByType("file").data["file"] as Files);
/// #endif
const liElement = files.element.querySelector(`[data-path="${pathString}"]`);
liElement.querySelector(".b3-list-item__toggle").classList.remove("fn__hidden")
liElement.querySelector(".b3-list-item__toggle").classList.remove("fn__hidden");
files.getLeaf(liElement, notebookId, true);
window.siyuan.menus.menu.remove();
};