This commit is contained in:
lmj
2022-10-22 14:11:38 +08:00
parent ef939c53a8
commit 0cb7f1a2a6

View File

@@ -1,9 +1,7 @@
<template>
<div class="item-author">
<div :style="`width:${width};height:${height};`" @click="toHome()">
{{userAvatar}}
<el-avatar shape="circle" :src="userAvatar" v-if="userAvatar"></el-avatar>
<div v-else class="uavatar">
<div v-if="sex == null" style="border-radius: 50%;" :style="`width:${width};height:${height};`"></div>
<div v-else>