From f41e52e3debf30558d556dc0451776f5422fb9b8 Mon Sep 17 00:00:00 2001
From: yangyin <1850366751@qq.com>
Date: 星期五, 08 十一月 2024 14:20:02 +0800
Subject: [PATCH] Merge branch 'test' of http://47.103.154.90:83/r/WI/Web.V1.0 into test

---
 src/components/amis/AMISRenderer.vue |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/components/amis/AMISRenderer.vue b/src/components/amis/AMISRenderer.vue
index c49e02c..f203bcd 100644
--- a/src/components/amis/AMISRenderer.vue
+++ b/src/components/amis/AMISRenderer.vue
@@ -12,6 +12,8 @@
 import { NO_AUTH_API_LIST } from '/@/api/ai/chat';
 import { LOGIN_URL, TEL_LOGIN_URL } from '/@/api/ai/user';
 import { Local } from '/@/utils/storage';
+import { isSharePage } from '/@/stores/chatRoom';
+
 const amisRootRef = ref<HTMLDivElement>(null);
 
 const props = defineProps({
@@ -144,7 +146,7 @@
 				// api.context 涓寘鍚彂閫佽姹傚墠鐨勪笂涓嬫枃淇℃伅
 				// 鑾峰彇鏈湴鐨� token
 				const accessSession = Local.get(accessSessionKey);
-				if (!NO_AUTH_API_LIST.includes(api.url)) {
+				if (!NO_AUTH_API_LIST.includes(api.url) && !isSharePage.value) {
 					if (accessSession) {
 						// 灏� token 娣诲姞鍒拌姹傛姤鏂囧ご涓�
 						api.headers['hswatersession'] = accessSession;

--
Gitblit v1.9.3