🎨 https://github.com/siyuan-note/siyuan/issues/1359 点击菜单应选中对应的文档

This commit is contained in:
Vanessa 2022-11-03 10:32:59 +08:00
parent 9b29174faa
commit 8c4d00ed12
6 changed files with 48 additions and 35 deletions

View file

@ -74,7 +74,6 @@ export class Menu {
}
this.element.innerHTML = "";
this.element.removeAttribute("data-filetreeid"); // 用于标记文档数右键所选文档 https://ld246.com/article/1667311960383
this.element.classList.add("fn__none");
this.element.classList.remove("b3-menu--list");
this.element.removeAttribute("style"); // zIndex