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, () => {