From 0ad399d1b125cdcad2e98c8c874d475b054485dc Mon Sep 17 00:00:00 2001
From: wujingjing <gersonwu@qq.com>
Date: 星期四, 07 十一月 2024 14:51:29 +0800
Subject: [PATCH] 分享模式

---
 src/layout/component/header/Header.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/layout/component/header/Header.vue b/src/layout/component/header/Header.vue
index e0cf4a5..80afdf8 100644
--- a/src/layout/component/header/Header.vue
+++ b/src/layout/component/header/Header.vue
@@ -9,7 +9,7 @@
 			</span>
 		</div>
 
-		<div class="notice">
+		<div class="notice" v-if="chatDisplayMode==='default'">
 			<el-badge :value="`${state.announcementList.length}`">
 				<el-button link size="small" icon="ele-Message" class="set-notice" @click="handleAnnouncementClick">绯荤粺鍏憡</el-button>
 			</el-badge>
@@ -60,6 +60,7 @@
 import { computed, onMounted, reactive } from 'vue';
 import { systemNotifyList } from '/@/api/ai/chat';
 import router from '/@/router';
+import { chatDisplayMode } from '/@/stores/chatRoom';
 let state = reactive({
 	isShowAnnouncement: false,
 	isAnnouncementDialog: false,

--
Gitblit v1.9.3