解决接口404问题+线程堵塞问题

This commit is contained in:
2026-02-28 10:27:09 +08:00
parent 949b654a47
commit 81950fc229
2 changed files with 1 additions and 2 deletions

View File

@@ -111,7 +111,6 @@ Future<void> init() async {
sl.registerLazySingleton(() => UpdateDevicenameUsecase(sl()));
sl.registerLazySingleton<SaveWorkRecordUseCase>(() => SaveWorkRecordUseCase(sl<PathRepository>()));
sl.registerLazySingleton(() => SelectWorkRecordUseCase(sl()));
/// 5. 状态管理 (Cubit/Bloc)
sl.registerLazySingleton(() => AppUserCubit()); // AuthCubit 依赖它,必须先注册