소스 검색

:art: https://github.com/siyuan-note/siyuan/issues/7957

Vanessa 1 년 전
부모
커밋
e0adb2f60c
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      app/src/index.ts

+ 3 - 0
app/src/index.ts

@@ -65,6 +65,9 @@ export class App {
                             case "syncMergeResult":
                                 reloadSync(this, data.data);
                                 break;
+                            case "reloaddoc":
+                                reloadSync(this, {upsertRootIDs: [data.data], removeRootIDs: []});
+                                break;
                             case "readonly":
                                 window.siyuan.config.editor.readOnly = data.data;
                                 hideAllElements(["util"]);