This commit is contained in:
Vanessa 2023-01-12 17:50:18 +08:00
parent 137b437027
commit 1c90c34091
3 changed files with 13 additions and 0 deletions

View file

@ -77,6 +77,7 @@ export class Menu {
this.element.classList.add("fn__none");
this.element.classList.remove("b3-menu--list");
this.element.removeAttribute("style"); // zIndex
window.siyuan.menus.menu.element.removeAttribute("data-name"); // 标识再次点击不消失
}
public append(element?: HTMLElement) {