feat(bd、bdleader): 修复没有显示默认头像的问题
This commit is contained in:
parent
578cb30b5e
commit
fc23fe08b6
@ -41,17 +41,20 @@
|
||||
style="
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
"
|
||||
>
|
||||
<img
|
||||
v-if="userInfo.userAvatar || ''"
|
||||
style="width: 100%; height: 100%; object-fit: cover; border-radius: 25px"
|
||||
:src="userInfo.userAvatar"
|
||||
:src="userInfo.userAvatar || ''"
|
||||
style="
|
||||
display: block;
|
||||
width: 100%;
|
||||
aspect-ratio: 1/1;
|
||||
object-fit: cover;
|
||||
border-radius: 50%;
|
||||
"
|
||||
@error="defaultAvatarUrl"
|
||||
/>
|
||||
</div>
|
||||
@ -387,7 +390,7 @@
|
||||
"
|
||||
>
|
||||
<img
|
||||
:src="member.userAvatar"
|
||||
:src="member.userAvatar || ''"
|
||||
alt=""
|
||||
style="
|
||||
display: block;
|
||||
|
||||
@ -41,17 +41,20 @@
|
||||
style="
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
"
|
||||
>
|
||||
<img
|
||||
v-if="userInfo.userAvatar || ''"
|
||||
style="width: 100%; height: 100%; object-fit: cover; border-radius: 25px"
|
||||
:src="userInfo.userAvatar"
|
||||
:src="userInfo.userAvatar || ''"
|
||||
style="
|
||||
display: block;
|
||||
width: 100%;
|
||||
aspect-ratio: 1/1;
|
||||
object-fit: cover;
|
||||
border-radius: 50%;
|
||||
"
|
||||
@error="defaultAvatarUrl"
|
||||
/>
|
||||
</div>
|
||||
@ -566,7 +569,7 @@
|
||||
"
|
||||
>
|
||||
<img
|
||||
:src="member.userAvatar"
|
||||
:src="member.userAvatar || ''"
|
||||
alt=""
|
||||
style="
|
||||
display: block;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user