|
@@ -605,6 +605,10 @@ class Routes {
|
|
|
'/patient/mental_disorder_info',
|
|
|
() => const MentalDisorderInfoView(),
|
|
|
binding: BindingsBuilder(() {
|
|
|
+ /// TODO 需要优化
|
|
|
+ if (!Get.isRegistered<MedicalController>()) {
|
|
|
+ Get.lazyPut(() => MedicalController());
|
|
|
+ }
|
|
|
Get.put(MentalDisorderInfoController());
|
|
|
}),
|
|
|
),
|