feat: 退出登录的处理

This commit is contained in:
2025-12-29 17:15:49 +08:00
parent 6745e36a79
commit 27b2052cec
2 changed files with 3 additions and 3 deletions

View File

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

View File

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