mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-07-03 14:09:06 +02:00
🎨 Improve export to Word .docx format https://github.com/siyuan-note/siyuan/issues/14970
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
@@ -735,8 +735,8 @@ const getExportPath = (option: IExportOptions, removeAssets?: boolean, mergeSubd
|
||||
}, exportResponse => {
|
||||
if (option.type === "word") {
|
||||
if (exportResponse.code === 1) {
|
||||
showMessage(exportResponse.msg, undefined, "error");
|
||||
hideMessage(msgId);
|
||||
showMessage(exportResponse.msg, 0, "error");
|
||||
return;
|
||||
}
|
||||
afterExport(exportResponse.data.path, msgId);
|
||||
|
||||
Reference in New Issue
Block a user