mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-04 14:41:47 +01: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:
parent
bacd022f3d
commit
bf250ffe8c
1 changed files with 1 additions and 1 deletions
|
|
@ -735,8 +735,8 @@ const getExportPath = (option: IExportOptions, removeAssets?: boolean, mergeSubd
|
||||||
}, exportResponse => {
|
}, exportResponse => {
|
||||||
if (option.type === "word") {
|
if (option.type === "word") {
|
||||||
if (exportResponse.code === 1) {
|
if (exportResponse.code === 1) {
|
||||||
showMessage(exportResponse.msg, undefined, "error");
|
|
||||||
hideMessage(msgId);
|
hideMessage(msgId);
|
||||||
|
showMessage(exportResponse.msg, 0, "error");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
afterExport(exportResponse.data.path, msgId);
|
afterExport(exportResponse.data.path, msgId);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue