Skip to content

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

:bug: fix https://ld246.com/article/1657969292700/comment/1658147006669#comments

Vanessa085e91d28e74
diff --git a/app/src/dialog/index.ts b/app/src/dialog/index.ts
index 6954e7bdce..580b350e56 100644
--- a/app/src/dialog/index.ts
+++ b/app/src/dialog/index.ts
@@ -36,6 +36,8 @@ export class Dialog {
this.destroy();
}
event.stopPropagation();
+ // https://ld246.com/article/1657969292700/comment/1658147006669#comments
+ window.siyuan.menus.menu.remove();
});
if (!this.disableClose) {
this.element.querySelector(".b3-dialog__close").addEventListener(getEventName(), (event) => {