更新设备校准

This commit is contained in:
wyf
2025-06-03 09:00:01 +08:00
parent 7a816922fa
commit eed93bc6a4
30 changed files with 4257 additions and 1259 deletions

View File

@@ -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!,