From cf17633556a2f525bfa856ec5761acd71ffeae96 Mon Sep 17 00:00:00 2001 From: zoujing Date: Wed, 10 Sep 2025 12:14:59 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E5=A4=8D=E4=B8=8D=E8=83=BD?= =?UTF-8?q?=E6=B8=B2=E6=9F=93=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/chat/ChatMainList.vue | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/pages/chat/ChatMainList.vue b/pages/chat/ChatMainList.vue index dc0c017..a413d09 100644 --- a/pages/chat/ChatMainList.vue +++ b/pages/chat/ChatMainList.vue @@ -97,12 +97,12 @@ /> @@ -354,15 +354,6 @@ onMounted(async () => { addNoticeListener(); initTypewriterManager(); initWebSocket(); - uni.getProvider({ - service: "oauth", - success: (res) => { - console.log("getProvider success", res); - }, - fail: (err) => { - console.log("getProvider fail", err); - }, - }); } catch (error) { console.error("页面初始化错误:", error); } @@ -394,9 +385,9 @@ const getMainPageData = async () => { const sceneId = appStore.sceneId || ""; const res = await mainPageData(sceneId); if (res.code === 0) { + initData(); mainPageDataModel.value = res.data; agentId.value = res.data.agentId; - initData(); setTimeoutScrollToBottom(); } };