Vanessa 2023-04-25 18:53:41 +08:00
parent e0e40dbad2
commit 34e833d0c1
7 changed files with 72 additions and 5 deletions

View file

@ -17,7 +17,7 @@ import {
processSync,
progressBackgroundTask,
progressLoading,
progressStatus,
progressStatus, reloadSync,
setTitle,
transactionError
} from "./dialog/processSystem";
@ -53,6 +53,9 @@ class App {
msgCallback: (data) => {
if (data) {
switch (data.cmd) {
case "syncMergeResult":
reloadSync(data.data);
break;
case "readonly":
window.siyuan.config.editor.readOnly = data.data;
updateEditModeElement();