🐛 文档导出为图片时图片地址不正确 Fix https://github.com/siyuan-note/siyuan/issues/6925

This commit is contained in:
Liang Ding 2022-12-26 11:42:41 +08:00
parent 4ed549cdb1
commit 608bce58a6
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
3 changed files with 9 additions and 4 deletions

View file

@ -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;