mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 16:58:49 +01:00
This commit is contained in:
parent
53e24a9ee8
commit
4e5a195290
1 changed files with 3 additions and 1 deletions
|
|
@ -381,7 +381,9 @@ const renderPDF = (id: string) => {
|
|||
webSecurity: false,
|
||||
},
|
||||
});
|
||||
window.siyuan.printWin.loadURL(servePath);
|
||||
fetchPost("/api/export/exportTempContent", {content: html}, (response) => {
|
||||
window.siyuan.printWin.loadURL(response.data.url);
|
||||
})
|
||||
};
|
||||
|
||||
const getExportPath = (option: { type: string, id: string }, removeAssets?: boolean) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue