头像路径
This commit is contained in:
parent
e3f4b7e0ba
commit
450edfb217
@ -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
|
||||
}
|
||||
|
||||
// 更新前言中的姓名 - 修复选择器
|
||||
|
||||
Loading…
Reference in New Issue
Block a user