更新设备校准
This commit is contained in:
@@ -79,7 +79,15 @@ class _EPageState extends State<BindDeviceSuccess> {
|
||||
left: 40.rpx,
|
||||
child: ClickableContainer(
|
||||
onTap: () {
|
||||
Get.offAllNamed("/mianPageBottomChange");
|
||||
if (blueteethBindController.returnPage == 0) {
|
||||
Get.until((route) =>
|
||||
Get.currentRoute == "/mianPageBottomChange");
|
||||
} else {
|
||||
// Get.offNamed("/bodyDevice");
|
||||
// Get.offNamedUntil(page, predicate);
|
||||
Get.until(
|
||||
(route) => Get.currentRoute == "/bodyDevice");
|
||||
}
|
||||
},
|
||||
backgroundColor: Colors.transparent,
|
||||
highlightColor: Colors
|
||||
@@ -271,9 +279,13 @@ class _EPageState extends State<BindDeviceSuccess> {
|
||||
BlueteethBindController blueteethBindController =
|
||||
Get.find();
|
||||
if (blueteethBindController.returnPage == 0) {
|
||||
Get.offAllNamed("/mianPageBottomChange");
|
||||
Get.until((route) =>
|
||||
Get.currentRoute == "/mianPageBottomChange");
|
||||
} else {
|
||||
Get.offAllNamed("/bodyDevice");
|
||||
// Get.offNamed("/bodyDevice");
|
||||
// Get.offNamedUntil(page, predicate);
|
||||
Get.until(
|
||||
(route) => Get.currentRoute == "/bodyDevice");
|
||||
}
|
||||
},
|
||||
colors: [
|
||||
|
||||
Reference in New Issue
Block a user