Explorar o código

fix: userInfo中头像高宽比不应被改变

任一存 %!s(int64=3) %!d(string=hai) anos
pai
achega
a3b230c2dd
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/components/userInfo.vue

+ 1 - 0
src/components/userInfo.vue

@@ -52,6 +52,7 @@ export default {
     border-radius: 50%;
     border: 1px solid rgba(0, 0, 0, 0.05);
     margin-right: 8px;
+    object-fit: cover;
   }
   .nickName {
     color: #323233;