浏览代码

replace window location href to window location reload

yuto-oweseek 4 年之前
父节点
当前提交
e8c56d47cb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/app/src/client/services/PageContainer.js

+ 1 - 1
packages/app/src/client/services/PageContainer.js

@@ -684,7 +684,7 @@ export default class PageContainer extends Container {
 
 
   async resolveConflictAndReload(pageId, revisionId, markdown, optionsToSave) {
   async resolveConflictAndReload(pageId, revisionId, markdown, optionsToSave) {
     await this.resolveConflict(pageId, revisionId, markdown, optionsToSave);
     await this.resolveConflict(pageId, revisionId, markdown, optionsToSave);
-    window.location.href = this.state.path;
+    window.location.reload();
   }
   }
 
 
 }
 }