From 32b99103581f2d13776673e5c189835e676f7b58 Mon Sep 17 00:00:00 2001 From: yinbangzhong <zhongbangyin@126.com> Date: 星期日, 18 八月 2024 18:42:43 +0800 Subject: [PATCH] tip --- 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