An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bulb: https://github.com/siyuan-note/siyuan/issues/6192
Vanessa466717aaac0f
diff --git a/app/src/util/assets.ts b/app/src/util/assets.tsindex f15c788f5f..59e2f544bf 100644--- a/app/src/util/assets.ts+++ b/app/src/util/assets.ts@@ -56,7 +56,8 @@ export const loadAssets = (data: IAppearance) => {}const iconDefaultScriptElement = document.getElementById("iconDefaultScript");- const iconURL = `/appearance/icons/${["ant", "material"].includes(data.icon) ? data.icon : "material"}/icon.js?v=${data.iconVer}`;+ // 不能使用 data.iconVer,因为其他主题也需要加载默认图标,此时 data.iconVer 为其他图标的版本号+ const iconURL = `/appearance/icons/${["ant", "material"].includes(data.icon) ? data.icon : "material"}/icon.js?v=${Constants.SIYUAN_VERSION}`;if (iconDefaultScriptElement) {if (!iconDefaultScriptElement.getAttribute("src").startsWith(iconURL)) {iconDefaultScriptElement.remove();