浏览代码

:bug: zindex

Vanessa 1 年之前
父节点
当前提交
d6fa43c153
共有 2 个文件被更改,包括 0 次插入5 次删除
  1. 0 1
      app/src/plugin/Menu.ts
  2. 0 4
      app/src/util/pathName.ts

+ 0 - 1
app/src/plugin/Menu.ts

@@ -50,7 +50,6 @@ export class Menu {
             return;
         }
         this.menu.fullscreen(position);
-        this.menu.element.style.zIndex = "310";
     }
 
     close() {

+ 0 - 4
app/src/util/pathName.ts

@@ -162,10 +162,6 @@ export const movePathTo = (cb: (toPath: string[], toNotebook: string[]) => void,
             }
         }
     });
-    /// #if !MOBILE
-    // 文档树上引用数悬浮层不被遮挡,搜索指定路径不被搜索遮挡
-    dialog.element.style.zIndex = "203";
-    /// #endif
     if (paths && paths.length > 0) {
         fetchPost("/api/filetree/getHPathsByPaths", {paths}, (response) => {
             dialog.element.querySelector(".b3-dialog__header .ft__smaller").innerHTML = escapeHtml(response.data.join(" "));