补充generatePath的cubit层

This commit is contained in:
2026-02-28 12:46:29 +08:00
parent a55dd457ab
commit 7f47ef71f1
5 changed files with 64 additions and 12 deletions

View File

@@ -116,7 +116,7 @@ Future<void> init() async {
sl.registerLazySingleton(() => AppUserCubit()); // AuthCubit 依赖它,必须先注册
sl.registerLazySingleton(() => GetDeviceLocationUseCase(sl()));
sl.registerLazySingleton(
() => DevicesCubit(sl(), sl(), sl(), sl(), sl(), sl(), sl(), sl(), sl()),
() => DevicesCubit(sl(), sl(), sl(), sl(), sl(), sl(), sl(), sl(), sl(),sl()),
);
sl.registerFactory(() => RemoteControlCubit(sl()));