Skip to content

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

:lipstick:

Vanessa45b26e1f3fc1
diff --git a/app/src/menus/Menu.ts b/app/src/menus/Menu.ts
index ed1a49cd4b..b29c23f95d 100644
--- a/app/src/menus/Menu.ts
+++ b/app/src/menus/Menu.ts
@@ -147,6 +147,8 @@ export class MenuItem {
}
this.element.innerHTML = html;
if (options.bind) {
+ // 主题 rem craft 需要使用 b3-menu__item--custom 来区分自定义菜单 by 281261361
+ this.element.classList.add("b3-menu__item--custom");
options.bind(this.element);
}
if (options.submenu) {