From ef4b683d42552178232ed2a94e78d7608b7a25b2 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期四, 31 十月 2024 10:45:04 +0800
Subject: [PATCH] 考试列表,提交后的试卷开始考试禁用

---
 src/views/home/components/user-panel/index.vue |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/views/home/components/user-panel/index.vue b/src/views/home/components/user-panel/index.vue
index ed05489..ed38c2b 100644
--- a/src/views/home/components/user-panel/index.vue
+++ b/src/views/home/components/user-panel/index.vue
@@ -9,7 +9,7 @@
             @click="stateClick()"
           >
             <div class="avatar-content" v-if="userInfo.imagePath">
-              <img :src="'/api/files/'+userInfo.imagePath" class="avatar-img" alt="" />
+              <img :src="userInfo.imagePath?'api/files/' + userInfo.imagePath:'/static/icons/touxiang.png'" class="avatar-img" alt="" />
             </div>
             <div
               class="avatar-content"
@@ -23,7 +23,6 @@
           </div>
           <template #dropdown>
             <el-dropdown-menu>
-              <el-dropdown-item>淇敼瀵嗙爜</el-dropdown-item>
               <el-dropdown-item @click="goPersonalCenter()"
                 >涓汉涓績</el-dropdown-item
               >

--
Gitblit v1.8.0