浏览代码

:bug: Fixing a bug.fix avatar

lishangbu 6 年之前
父节点
当前提交
bb639a2943
共有 1 个文件被更改,包括 1 次插入1 次删除
  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"