fix 首页头像 404

This commit is contained in:
lbw 2023-04-07 15:47:15 +08:00
parent 9cc34aa71b
commit f11621d42c

View File

@ -2,7 +2,7 @@
<el-card style="height: 100%">
<div style="display: flex; justify-content: space-between">
<div style="display: flex">
<el-avatar style="width: 60px; height: 60px" shape="circle" :size="100" fit="cover" :src="userData.avatar" />
<el-avatar style="width: 60px; height: 60px" shape="circle" :size="100" fit="cover" :src="baseURL + userData.avatar" />
<div class="info">
<span style="font-weight: 600; margin: 2px; font-size: 18px">{{ userData.name }}</span>
<span style="color: #6d737b; margin: 2px">{{ userData.deptName }} | {{ userData.postName }}</span>