mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 00:50:13 +01:00
This commit is contained in:
parent
9bbfd2a3e4
commit
8fe520f4af
8 changed files with 67 additions and 8 deletions
|
|
@ -54,6 +54,9 @@ export class App {
|
|||
id: genUUID(),
|
||||
type: "main",
|
||||
msgCallback: (data) => {
|
||||
this.plugins.forEach((plugin) => {
|
||||
plugin.eventBus.emit("ws-main", data);
|
||||
});
|
||||
if (data) {
|
||||
switch (data.cmd) {
|
||||
case "syncMergeResult":
|
||||
|
|
@ -167,8 +170,8 @@ export class App {
|
|||
bootSync();
|
||||
fetchPost("/api/setting/getCloudUser", {}, userResponse => {
|
||||
window.siyuan.user = userResponse.data;
|
||||
onGetConfig(response.data.start);
|
||||
loadPlugins(siyuanApp);
|
||||
onGetConfig(response.data.start);
|
||||
account.onSetaccount();
|
||||
resizeDrag();
|
||||
setTitle(window.siyuan.languages.siyuanNote);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue