优化
This commit is contained in:
@@ -561,8 +561,6 @@ class C_ReservationController extends GetxController with BaseControllerMixin {
|
||||
);
|
||||
}
|
||||
|
||||
String phone = "";
|
||||
String name = "";
|
||||
String leftHydrogen = "0";
|
||||
String workEfficiency = "0";
|
||||
String fillingWeight = "0";
|
||||
@@ -570,13 +568,14 @@ class C_ReservationController extends GetxController with BaseControllerMixin {
|
||||
String plateNumber = "";
|
||||
String vin = "";
|
||||
|
||||
@override
|
||||
bool get listenLifecycleEvent => true;
|
||||
|
||||
@override
|
||||
void onInit() {
|
||||
phone = StorageService.to.phone ?? "";
|
||||
name = StorageService.to.name ?? "";
|
||||
super.onInit();
|
||||
getUserBindCarInfo();
|
||||
getSiteList();
|
||||
super.onInit();
|
||||
}
|
||||
|
||||
void getUserBindCarInfo() {
|
||||
|
||||
Reference in New Issue
Block a user