头像路径

This commit is contained in:
Euni4U 2025-04-01 10:38:47 +08:00
parent e3f4b7e0ba
commit 450edfb217

View File

@ -12,7 +12,7 @@
<div class="iframe-container">
<iframe
v-if="dialogVisible"
src="/inspect/templates/report-template.html"
src="/templates/report-template.html"
frameborder="0"
style="width: 100%; height: 100%; border: none"
@load="handleIframeLoad"
@ -126,7 +126,7 @@ const handleIframeLoad = async () => {
//
const avatarImg = doc.getElementById('avatar-image')
if (avatarImg) {
avatarImg.src = reportData.headPicUrl || ''
avatarImg.src = 'data:image/jpeg;base64,' + reportData.headPicUrl
}
// -