一次大的提交

This commit is contained in:
2026-08-07 08:49:29 +08:00
parent bf2fc49c19
commit db70665ced
181 changed files with 23060 additions and 2804 deletions

View File

@@ -45,4 +45,11 @@ class MyCubit extends Cubit<MyState> {
emit(state.copyWith(isLoading: true, errorMessage: ''));
// 解绑逻辑(如需保留,需补充 UnbindDeviceUsecase 依赖注入)
}
/// 🔥 退出登录时清空所有状态(昵称等个人信息)
void clearAll() {
if (!isClosed) {
emit(const MyState());
}
}
}