mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 00:20:12 +01:00
🐛 文档导出为图片时图片地址不正确 Fix https://github.com/siyuan-note/siyuan/issues/6925
This commit is contained in:
parent
4ed549cdb1
commit
608bce58a6
3 changed files with 9 additions and 4 deletions
|
|
@ -45,6 +45,7 @@ export const exportImage = (id: string) => {
|
|||
fetchPost("/api/export/exportPreviewHTML", {
|
||||
id,
|
||||
keepFold: false,
|
||||
image: true,
|
||||
}, (response) => {
|
||||
const previewElement = exportDialog.element.querySelector("#preview");
|
||||
previewElement.innerHTML = response.data.content;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue