mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
This commit is contained in:
parent
1fe22e15f4
commit
17b4d8765a
5 changed files with 35 additions and 4 deletions
|
|
@ -11,7 +11,7 @@ import {openFileById} from "../editor/util";
|
|||
import {
|
||||
processSync, progressBackgroundTask,
|
||||
progressLoading,
|
||||
progressStatus,
|
||||
progressStatus, reloadSync,
|
||||
setTitle,
|
||||
transactionError
|
||||
} from "../dialog/processSystem";
|
||||
|
|
@ -42,6 +42,9 @@ class App {
|
|||
msgCallback: (data) => {
|
||||
if (data) {
|
||||
switch (data.cmd) {
|
||||
case "syncMergeResult":
|
||||
reloadSync(data.data);
|
||||
break;
|
||||
case "progress":
|
||||
progressLoading(data);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue