Browse Source

:bug: Fixing a bug.fix avatar

lishangbu 6 years ago
parent
commit
bb639a2943
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/page/index/top/index.vue

+ 1 - 1
src/page/index/top/index.vue

@@ -60,7 +60,7 @@
              @click="handleScreen"></i>
         </div>
       </el-tooltip>
-      <el-tooltip effect="dark"
+      <el-tooltip v-if="this.userInfo.avatar" effect="dark"
                   content="用户头像"
                   placement="bottom">
         <img id="thumbnail" class="top-bar__img"