An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: fix https://github.com/siyuan-note/siyuan/issues/10341
Vanessaab3c2ce729a9
diff --git a/app/src/util/assets.ts b/app/src/util/assets.tsindex 4f5cf834b6..c4cd37ef95 100644--- a/app/src/util/assets.ts+++ b/app/src/util/assets.ts@@ -85,10 +85,9 @@ export const loadAssets = (data: IAppearance) => {const themeScriptElement = document.getElementById("themeScript");const themeScriptAddress = `/appearance/themes/${data.mode === 1 ? data.themeDark : data.themeLight}/theme.js?v=${data.themeVer}`;if (themeScriptElement) {- if (!themeScriptElement.getAttribute("src").startsWith(themeScriptAddress)) {- themeScriptElement.remove();- addScript(themeScriptAddress, "themeScript");- }+ // https://github.com/siyuan-note/siyuan/issues/10341+ themeScriptElement.remove();+ addScript(themeScriptAddress, "themeScript");} else {addScript(themeScriptAddress, "themeScript");}