Skip to content

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

:bug: https://github.com/siyuan-note/siyuan/issues/13081

Vanessa542f287d8820
diff --git a/app/src/protyle/util/reload.ts b/app/src/protyle/util/reload.ts
index b39fd91a4a..ff5586d442 100644
--- a/app/src/protyle/util/reload.ts
+++ b/app/src/protyle/util/reload.ts
@@ -1,4 +1,4 @@
-import {addLoading} from "../ui/initUI";
+import {addLoading, removeLoading} from "../ui/initUI";
import {fetchPost} from "../../util/fetch";
import {getDocByScroll, saveScroll} from "../scroll/saveScroll";
import {renderBacklink} from "../wysiwyg/renderBacklink";
@@ -8,6 +8,7 @@ import {preventScroll} from "../scroll/preventScroll";
export const reloadProtyle = (protyle: IProtyle, focus: boolean, updateReadonly?: boolean) => {
if (!protyle.preview.element.classList.contains("fn__none")) {
protyle.preview.render(protyle);
+ removeLoading(protyle);
return;
}
if (window.siyuan.config.editor.displayBookmarkIcon) {