Skip to content

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

:art: fix https://github.com/siyuan-note/petal/issues/28

Vanessaa33914400770
diff --git a/app/src/plugin/Setting.ts b/app/src/plugin/Setting.ts
index c3b5876659..3225c92853 100644
--- a/app/src/plugin/Setting.ts
+++ b/app/src/plugin/Setting.ts
@@ -7,6 +7,7 @@ export class Setting {
private destroyCallback: () => void;
private width: string;
private height: string;
+ public dialog:Dialog;
constructor(options: {
height?: string,
@@ -97,5 +98,6 @@ export class Setting {
}
dialog.destroy();
});
+ this.dialog = dialog;
}
}