From d6fa43c1538cab416b4333390bbfee27c066a375 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Tue, 5 Sep 2023 16:42:21 +0800 Subject: [PATCH] :bug: zindex --- app/src/plugin/Menu.ts | 1 - app/src/util/pathName.ts | 4 ---- 2 files changed, 5 deletions(-) diff --git a/app/src/plugin/Menu.ts b/app/src/plugin/Menu.ts index 99983c7c6..7b97781e4 100644 --- a/app/src/plugin/Menu.ts +++ b/app/src/plugin/Menu.ts @@ -50,7 +50,6 @@ export class Menu { return; } this.menu.fullscreen(position); - this.menu.element.style.zIndex = "310"; } close() { diff --git a/app/src/util/pathName.ts b/app/src/util/pathName.ts index 10d79a09d..b1bfc7e17 100644 --- a/app/src/util/pathName.ts +++ b/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(" "));