1 Commits

Author SHA1 Message Date
27b2052cec feat: 退出登录的处理 2025-12-29 17:15:49 +08:00
2 changed files with 3 additions and 3 deletions

View File

@@ -102,6 +102,9 @@ const handleLogout = () => {
uni.clearStorageSync(); uni.clearStorageSync();
emits("close"); emits("close");
uni.$emit(NOTICE_EVENT_LOGOUT); uni.$emit(NOTICE_EVENT_LOGOUT);
uni.showToast({
title: "退出登录成功",
});
} }
}, },
}); });

View File

@@ -258,9 +258,6 @@ const addNoticeListener = () => {
uni.$on(NOTICE_EVENT_LOGOUT, () => { uni.$on(NOTICE_EVENT_LOGOUT, () => {
resetConfig(); resetConfig();
uni.showToast({
title: "退出登录成功",
});
}); });
uni.$on(SCROLL_TO_BOTTOM, () => { uni.$on(SCROLL_TO_BOTTOM, () => {