From 11b6a749826f1c2a75f81fca2021a45c777158c5 Mon Sep 17 00:00:00 2001
From: lohir <3399054449@qq.com>
Date: 星期四, 17 十月 2024 15:17:50 +0800
Subject: [PATCH] 解决考试时间创建和修改会向后推8小时的问题

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

diff --git a/src/views/home/components/user-panel/index.vue b/src/views/home/components/user-panel/index.vue
index ed05489..73a8f24 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"

--
Gitblit v1.8.0