mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
This commit is contained in:
parent
d04565e588
commit
c2d3407789
1 changed files with 2 additions and 2 deletions
|
|
@ -628,7 +628,7 @@ const getExportPath = (option: IExportOptions, removeAssets?: boolean, mergeSubd
|
|||
}
|
||||
afterExport(exportResponse.data.path, msgId);
|
||||
} else {
|
||||
onExport(exportResponse, savePath, option, removeAssets, msgId);
|
||||
onExport(exportResponse, savePath, option, msgId);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
@ -636,7 +636,7 @@ const getExportPath = (option: IExportOptions, removeAssets?: boolean, mergeSubd
|
|||
};
|
||||
/// #endif
|
||||
|
||||
export const onExport = async (data: IWebSocketData, filePath: string, exportOption: IExportOptions, removeAssets?: boolean, msgId?: string) => {
|
||||
export const onExport = async (data: IWebSocketData, filePath: string, exportOption: IExportOptions, msgId?: string) => {
|
||||
let themeName = window.siyuan.config.appearance.themeLight;
|
||||
let mode = 0;
|
||||
if (["html", "htmlmd"].includes(exportOption.type) && window.siyuan.config.appearance.mode === 1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue