mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 00:20:12 +01:00
⚰️
This commit is contained in:
parent
2787a239ee
commit
f41d1d2c7d
1 changed files with 0 additions and 15 deletions
|
|
@ -149,21 +149,6 @@ export class App {
|
||||||
addScriptSync(`${Constants.PROTYLE_CDN}/js/lute/lute.min.js?v=${Constants.SIYUAN_VERSION}`, "protyleLuteScript");
|
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");
|
addScript(`${Constants.PROTYLE_CDN}/js/protyle-html.js?v=${Constants.SIYUAN_VERSION}`, "protyleWcHtmlScript");
|
||||||
window.siyuan.config = response.data.conf;
|
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);
|
await loadPlugins(this);
|
||||||
getLocalStorage(() => {
|
getLocalStorage(() => {
|
||||||
fetchGet(`/appearance/langs/${window.siyuan.config.appearance.lang}.json?v=${Constants.SIYUAN_VERSION}`, (lauguages:IObject) => {
|
fetchGet(`/appearance/langs/${window.siyuan.config.appearance.lang}.json?v=${Constants.SIYUAN_VERSION}`, (lauguages:IObject) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue