From 27b2052cecb5e9597e3031ff62bf0656c202f2bc Mon Sep 17 00:00:00 2001 From: zoujing Date: Mon, 29 Dec 2025 17:15:49 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=80=80=E5=87=BA=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E7=9A=84=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/DrawerSection/components/MineSetting/index.vue | 3 +++ src/pages/index/components/chat/ChatMainList/index.vue | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/index/components/DrawerSection/components/MineSetting/index.vue b/src/pages/index/components/DrawerSection/components/MineSetting/index.vue index beb3f50..8b9d351 100644 --- a/src/pages/index/components/DrawerSection/components/MineSetting/index.vue +++ b/src/pages/index/components/DrawerSection/components/MineSetting/index.vue @@ -102,6 +102,9 @@ const handleLogout = () => { uni.clearStorageSync(); emits("close"); uni.$emit(NOTICE_EVENT_LOGOUT); + uni.showToast({ + title: "退出登录成功", + }); } }, }); diff --git a/src/pages/index/components/chat/ChatMainList/index.vue b/src/pages/index/components/chat/ChatMainList/index.vue index 4a35d69..e7d08b0 100644 --- a/src/pages/index/components/chat/ChatMainList/index.vue +++ b/src/pages/index/components/chat/ChatMainList/index.vue @@ -258,9 +258,6 @@ const addNoticeListener = () => { uni.$on(NOTICE_EVENT_LOGOUT, () => { resetConfig(); - uni.showToast({ - title: "退出登录成功", - }); }); uni.$on(SCROLL_TO_BOTTOM, () => {