Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: zindex

Vanessad6fa43c1538c
diff --git a/app/src/plugin/Menu.ts b/app/src/plugin/Menu.ts
index 99983c7c65..7b97781e4e 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 10d79a09da..b1bfc7e178 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(" "));