Skip to content

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

:zap: Improve document tree expansion and database loading performance https://github.com/siyuan-note/siyuan/issues/12428

Danield131965636f6
diff --git a/app/src/dialog/message.ts b/app/src/dialog/message.ts
index 7addfc4972..94b8e851c8 100644
--- a/app/src/dialog/message.ts
+++ b/app/src/dialog/message.ts
@@ -101,7 +101,8 @@ export const hideMessage = (id?: string) => {
setTimeout(() => {
messageElement.remove();
if (messagesElement.childElementCount === 0) {
- hideMessage();
+ messagesElement.parentElement.classList.remove("b3-snackbars--show");
+ messagesElement.innerHTML = "";
}
}, Constants.TIMEOUT_INPUT);
}