mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 00:50:13 +01:00
This commit is contained in:
parent
e0e40dbad2
commit
34e833d0c1
7 changed files with 72 additions and 5 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue