feat: 退出登录的处理

This commit is contained in:
zoujing committed 2025-12-29 17:15:49 +08:00
1 parent 6745e36a79
commit 27b2052cec
2 files changed
+3 -3

No files matched your search

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