Skip to content

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

:art: https://github.com/siyuan-note/siyuan/pull/17152

Vanessaabeae4d01f28
diff --git a/app/src/config/bazaar.ts b/app/src/config/bazaar.ts
index 71115fe6db..9f2c3c1089 100644
--- a/app/src/config/bazaar.ts
+++ b/app/src/config/bazaar.ts
@@ -716,6 +716,8 @@ type="checkbox">
});
});
}
+ } else if (response.code === 1) {
+ showMessage(response.msg);
}
});
}
@@ -760,13 +762,6 @@ type="checkbox">
}, async response => {
this._genMyHTML(bazaarType, app);
bazaar._onBazaar(response, bazaarType);
- // TODO 集市包的相关逻辑应完全由内核处理并推送到所有前端实例,下面的代码需要确认
- // https://github.com/siyuan-note/siyuan/issues/15177
- if (bazaarType === "themes" && response.data.appearance?.themeVer) {
- window.siyuan.config.appearance.themeVer = response.data.appearance.themeVer;
- }
- // 更新主题后不需要对该主题进行切换 https://github.com/siyuan-note/siyuan/issues/4966
- // https://github.com/siyuan-note/siyuan/issues/5411
});
});
}