提交一个控制

This commit is contained in:
daihh
2022-10-31 23:58:14 +08:00
parent 3fa35aa8f8
commit 721da07749

View File

@@ -64,7 +64,7 @@
<el-dropdown>
<div style="margin-left: 50px;color: #fff;font-size: 14px;cursor: pointer;">
<el-avatar v-if="userInfo.avatar !== ''" :src="userInfo.avatar" style="vertical-align: middle;width:40px;height:40px;margin-right:10px;"></el-avatar>
<span style="display: inline-block;">
<span v-else style="display: inline-block;">
<img v-if="userInfo.sex === 1 " src="../../../../public/images/Avatarman.png" alt="" style="width: 30px;height: 30px;vertical-align: middle;">
<img src="../../../../public/images/Avatarwoman.png" alt="" style="width: 30px;height: 30px;vertical-align: middle;">
</span>