Merge branch 'feature/my' of http://1.95.137.212:57001/APP/FlutterApp into feature/my
This commit is contained in:
@@ -185,8 +185,8 @@ Future<void> init() async {
|
||||
sl.registerLazySingleton(() => AppUserCubit()); // AuthCubit 依赖它,必须先注册
|
||||
sl.registerLazySingleton(() => GetDeviceLocationUseCase(sl()));
|
||||
sl.registerLazySingleton(() => DevicesCubit(sl(), sl(), sl(), sl(), sl(), sl(), sl(), sl(), sl(), sl(), sl(), sl(),sl(),sl(),sl()));
|
||||
sl.registerFactory(() => RemoteControlCubit(sl(),sl()));
|
||||
/* // 工厂模式(留存,每次获取新实例)
|
||||
sl.registerFactory(() => RemoteControlCubit(sl(),sl(),sl()));
|
||||
/* // 工厂模式(留存,每次获取新实例)r
|
||||
|
||||
sl.registerFactory(() => DeviceStatusBloc(sl<NetMessageDispatcher>()));
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user