🎨 导出 PDF 和 Word 时支持覆盖已有文件 https://github.com/siyuan-note/siyuan/issues/5309

This commit is contained in:
Liang Ding 2022-07-19 21:48:51 +08:00
parent c819b63fa7
commit 1a47d9eeb7
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -142,7 +142,7 @@ const getExportPath = (option: { type: string, id: string }, pdfOption?: PrintTo
title: window.siyuan.languages.export + " " + exportType,
defaultPath: response.data.rootTitle + "." + extension,
filters: [{
name: "Word",
name: exportType,
extensions: [extension]
}],
properties: ["showOverwriteConfirmation"],