Skip to content

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

fix(Setting.ts): destroyCallback 参数没有被使用 (#12407)

Frostime211704692f42
diff --git a/app/src/plugin/Setting.ts b/app/src/plugin/Setting.ts
index 3225c92853..2428bb77af 100644
--- a/app/src/plugin/Setting.ts
+++ b/app/src/plugin/Setting.ts
@@ -16,6 +16,7 @@ export class Setting {
confirmCallback?: () => void
}) {
this.confirmCallback = options.confirmCallback;
+ this.destroyCallback = options.destroyCallback;
this.width = options.width || (isMobile() ? "92vw" : "768px");
this.height = options.height || "80vh";
}