This commit is contained in:
Vanessa 2022-11-02 15:53:59 +08:00
parent 067da5f54b
commit 0ea19f0d9d
4 changed files with 18 additions and 13 deletions

View file

@ -76,7 +76,8 @@ export class Menu {
this.element.innerHTML = "";
this.element.removeAttribute("data-filetreeid"); // 用于标记文档数右键所选文档 https://ld246.com/article/1667311960383
this.element.classList.add("fn__none");
this.element.removeAttribute("style"); // 页签下拉需要设置 overflow 和 max-height
this.element.classList.remove("b3-menu--list");
this.element.removeAttribute("style"); // zIndex
}
public append(element?: HTMLElement) {