更新设备校准
This commit is contained in:
@@ -50,6 +50,7 @@ class _EPageState extends State<PersonPage> {
|
||||
personController.gender.value = 1;
|
||||
personController.birthday.value = "";
|
||||
personController.weight.value = "";
|
||||
personController.height.value = "";
|
||||
personController.dateTime = null;
|
||||
}
|
||||
|
||||
@@ -66,6 +67,7 @@ class _EPageState extends State<PersonPage> {
|
||||
),
|
||||
),
|
||||
child: Scaffold(
|
||||
resizeToAvoidBottomInset: false,
|
||||
backgroundColor: Colors.transparent, // 加上这一行
|
||||
appBar: AppBar(
|
||||
backgroundColor: themeController.currentColor.sc17,
|
||||
@@ -107,8 +109,7 @@ class _EPageState extends State<PersonPage> {
|
||||
if (apiRespons.code == HttpStatusCodes.ok) {
|
||||
TopSlideNotification.show(context,
|
||||
text: apiRespons.msg!);
|
||||
Get.offAllNamed("/bindDeviceSuccess");
|
||||
// Get.toNamed("/wifiPage");
|
||||
Get.offNamed("/bindDeviceSuccess");
|
||||
} else {
|
||||
TopSlideNotification.show(context,
|
||||
text: apiRespons.msg!,
|
||||
|
||||
Reference in New Issue
Block a user