소스 검색

:art: fix https://github.com/siyuan-note/siyuan/issues/6956

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

+ 1 - 0
app/src/protyle/export/index.ts

@@ -58,6 +58,7 @@ export const saveExport = (option: { type: string, id: string }) => {
         btnsElement[1].addEventListener("click", () => {
             const removeAssets = (wordDialog.element.querySelector("#removeAssets") as HTMLInputElement).checked;
             const mergeSubdocs = (wordDialog.element.querySelector("#mergeSubdocs") as HTMLInputElement).checked;
+            window.siyuan.storage[Constants.LOCAL_EXPORTWORD] = {removeAssets, mergeSubdocs};
             getExportPath(option, removeAssets, mergeSubdocs);
             wordDialog.destroy();
         });