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
Vanessafd6153dcbcef
diff --git a/app/src/util/assets.ts b/app/src/util/assets.tsindex bc68b42fad..848b89f9cd 100644--- a/app/src/util/assets.ts+++ b/app/src/util/assets.ts@@ -40,8 +40,7 @@ export const loadAssets = (data: IAppearance) => {const defaultThemeAddress = `/appearance/themes/${data.mode === 1 ? "midnight" : "daylight"}/theme.css?v=${Constants.SIYUAN_VERSION}`;if (defaultStyleElement) {if (!defaultStyleElement.getAttribute("href").startsWith(defaultThemeAddress)) {- defaultStyleElement.remove();- addStyle(defaultThemeAddress, "themeDefaultStyle");+ defaultStyleElement.setAttribute("href", defaultThemeAddress)}} else {addStyle(defaultThemeAddress, "themeDefaultStyle");@@ -51,8 +50,7 @@ export const loadAssets = (data: IAppearance) => {const themeAddress = `/appearance/themes/${data.mode === 1 ? data.themeDark : data.themeLight}/theme.css?v=${data.themeVer}`;if (styleElement) {if (!styleElement.getAttribute("href").startsWith(themeAddress)) {- styleElement.remove();- addStyle(themeAddress, "themeStyle");+ styleElement.setAttribute("href", themeAddress)}} else {addStyle(themeAddress, "themeStyle");