Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/11277

Vanessa2a6699e371b1
diff --git a/app/src/plugin/loader.ts b/app/src/plugin/loader.ts
index 8241a59eb9..6edb3963d1 100644
--- a/app/src/plugin/loader.ts
+++ b/app/src/plugin/loader.ts
@@ -30,7 +30,7 @@ export const loadPlugins = async (app: App, names?: string[]) => {
let css = "";
// 为加快启动速度,不进行 await
response.data.forEach((item: IPluginData) => {
- if (!names || (names && !names.includes(item.name))) {
+ if (!names || (names && names.includes(item.name))) {
loadPluginJS(app, item);
}
css += item.css || "" + "\n";