完成头像显示功能1

master
xiaohua030729 11 months ago
parent 2e6c488be2
commit b8345c0ed0

@ -127,7 +127,11 @@
style="display: flex;justify-content: space-between" style="display: flex;justify-content: space-between"
:key="i"> :key="i">
<div style="display: flex"> <div style="display: flex">
<el-avatar style="margin-bottom: 10px" :size="36" :src="item.avatar"></el-avatar> <el-avatar
style="margin-bottom: 10px"
:size="36"
:src="!$common.isEmpty($store.state.currentUser)?$store.state.currentUser.avatar:$store.state.webInfo.avatar">
</el-avatar>
<div style="margin-left: 10px;height: 36px;line-height: 36px;overflow: hidden;max-width: 80px"> <div style="margin-left: 10px;height: 36px;line-height: 36px;overflow: hidden;max-width: 80px">
{{ item.username }} {{ item.username }}
</div> </div>

Loading…
Cancel
Save