Skip to content

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

:coffin:

Vanessaf41d1d2c7d97
diff --git a/app/src/index.ts b/app/src/index.ts
index d5646e9e62..40b05d9dd0 100644
--- a/app/src/index.ts
+++ b/app/src/index.ts
@@ -149,21 +149,6 @@ export class App {
addScriptSync(`${Constants.PROTYLE_CDN}/js/lute/lute.min.js?v=${Constants.SIYUAN_VERSION}`, "protyleLuteScript");
addScript(`${Constants.PROTYLE_CDN}/js/protyle-html.js?v=${Constants.SIYUAN_VERSION}`, "protyleWcHtmlScript");
window.siyuan.config = response.data.conf;
- // 历史数据兼容,202306后可删除
- if (window.siyuan.config.uiLayout.left && !window.siyuan.config.uiLayout.left.data) {
- window.siyuan.config.uiLayout.left = {
- pin: true,
- data: response.data.conf.uiLayout.left
- };
- window.siyuan.config.uiLayout.right = {
- pin: true,
- data: response.data.conf.uiLayout.right
- };
- window.siyuan.config.uiLayout.bottom = {
- pin: true,
- data: response.data.conf.uiLayout.bottom
- };
- }
await loadPlugins(this);
getLocalStorage(() => {
fetchGet(`/appearance/langs/${window.siyuan.config.appearance.lang}.json?v=${Constants.SIYUAN_VERSION}`, (lauguages:IObject) => {