This commit is contained in:
Vanessa 2023-05-24 09:19:48 +08:00
parent da0afd39a8
commit a556716dcc
7 changed files with 35 additions and 22 deletions

View file

@ -41,6 +41,7 @@ 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");
addBaseURL();
loadPlugins(this);
window.siyuan = {
transactions: [],
reqIds: {},
@ -171,7 +172,6 @@ export class App {
bootSync();
fetchPost("/api/setting/getCloudUser", {}, userResponse => {
window.siyuan.user = userResponse.data;
loadPlugins(this);
onGetConfig(response.data.start, this);
account.onSetaccount();
resizeDrag();