ZaiZai 1 年之前
父节点
当前提交
2fe6821c6a
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 二进制
      src/assets/images/avatar.png
  2. 2 1
      src/layout/modules/UserInfoBar.vue

二进制
src/assets/images/avatar.png


+ 2 - 1
src/layout/modules/UserInfoBar.vue

@@ -1,7 +1,8 @@
 <template>
     <el-dropdown size="large">
         <div class="hc-user-info-bar">
-            <img :alt="userInfo?.account" :src="userInfo?.avatar || avatarPng" class="user-avatar">
+            <!-- img :alt="userInfo?.account" :src="userInfo?.avatar || avatarPng" class="user-avatar" -->
+            <img :alt="userInfo?.account" :src="avatarPng" class="user-avatar">
             <div class="user-name">{{ userInfo?.real_name || '还未登录' }}</div>
             <hc-icon fill name="more-2" ui="arrow-icon" />
         </div>