From 56136d7b32b1e5e794d01fc287b7ef417e77b99e Mon Sep 17 00:00:00 2001
From: zhangxiao <898441624@qq.com>
Date: 星期一, 19 八月 2024 13:31:38 +0800
Subject: [PATCH] fix: 修改菜单

---
 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