From e0fef11b3316a8709787d33f3d82bd50d4e0a301 Mon Sep 17 00:00:00 2001 From: wyf <494641114@qq.com> Date: Mon, 26 May 2025 09:11:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BB=91=E5=AE=9A=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E6=97=B6=EF=BC=8C=E5=87=BA=E7=8E=B0=E7=99=BD=E5=B1=8F?= =?UTF-8?q?=E7=8E=B0=E8=B1=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/langs/zh_CN.json | 4 ++-- lib/pages/device_bind/wifi_page.dart | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/assets/langs/zh_CN.json b/assets/langs/zh_CN.json index b5a04c8..44de0ea 100644 --- a/assets/langs/zh_CN.json +++ b/assets/langs/zh_CN.json @@ -110,7 +110,7 @@ "保存":"保存", "名字输入提示":"使用人员姓名(必填)", "生日输入提示":"生日(必填)", - "体重输入提示":"体重(必填)", + "体重输入提示":"体重kg(必填)", "疾病标题":"慢病管理", "提示":"提示:填写准确的使用人员相关资料,可以使睡眠报告监测数据更加精准!" }, @@ -358,7 +358,7 @@ "微信客服提示":"请先安装微信APP,再联系客服", "打开微信客服提示":"正在打开微信客服...", "身高":"身高", - "身高输入提示":"请输入身高(必填)", + "身高输入提示":"请输入身高cm(必填)", "用户协议":"用户协议", "隐私协议":"隐私协议", "呼吸基准":"呼吸基准", diff --git a/lib/pages/device_bind/wifi_page.dart b/lib/pages/device_bind/wifi_page.dart index 1584344..ef96d7d 100644 --- a/lib/pages/device_bind/wifi_page.dart +++ b/lib/pages/device_bind/wifi_page.dart @@ -50,7 +50,7 @@ class _WifiPageState extends State { blueteethBindController.wifiStatus.value = widget.type['status']['status']; } - if (widget.type['mac'] == null) { + if (widget.type == null) { THapp bledevice = blueteethBindController.currentDevice!; bledevice.device.connect().then((Value) { var res2 = bledevice.isConnected; @@ -75,7 +75,7 @@ class _WifiPageState extends State { } if (onData.status == BleEventType.ready) { aa = await getDeviceNetVersion( - blueteethBindController.currentDevice!, 2); + blueteethBindController.currentDevice!, 10); if (aa == "4g") { TopSlideNotification.show( context, @@ -198,7 +198,7 @@ class _WifiPageState extends State { left: 0, child: returnIconButtom, ), - if (widget.type['mac'] == null) + if (widget.type == null) Positioned( right: 20.rpx, child: CustomCard(