From f848280fe3ed8841147fcc8f26a788580b82ae0c Mon Sep 17 00:00:00 2001
From: liudong <liudong>
Date: 星期六, 17 八月 2024 10:37:46 +0800
Subject: [PATCH] 首页页面bug修改

---
 src/views/sessionManager/components/historySession.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/views/sessionManager/components/historySession.vue b/src/views/sessionManager/components/historySession.vue
index f4d386e..e7c9c5e 100644
--- a/src/views/sessionManager/components/historySession.vue
+++ b/src/views/sessionManager/components/historySession.vue
@@ -54,7 +54,7 @@
                       <img
                         :style="{ width: '16px' }"
                         alt="dessert"
-                        :src="session.avatar || imgSrc"
+                        :src="session.icon ? httpUrl + session.icon : imgSrc"
                       />
                       {{ session.name }}
                     </div>
@@ -112,6 +112,7 @@
 const searchValue = ref("");
 const selectValue = ref("");
 const sectionList = ref({});
+const httpUrl = localStorage.getItem('httpUrl');
 const imgSrc = ref(logo);
 const DialogList = async () => {
   const { code, data } = await getDialogListApi();

--
Gitblit v1.8.0