更新
This commit is contained in:
@@ -72,7 +72,7 @@ class _WifiPageState extends State<WifiPage> {
|
||||
}
|
||||
if (onData.status == BleEventType.ready) {
|
||||
aa = await getDeviceNetVersion(
|
||||
blueteethBindController.currentDevice!, 1);
|
||||
blueteethBindController.currentDevice!, 2);
|
||||
if (aa == "4g") {
|
||||
TopSlideNotification.show(
|
||||
context,
|
||||
@@ -84,6 +84,12 @@ class _WifiPageState extends State<WifiPage> {
|
||||
Future.delayed(const Duration(seconds: 1), () {
|
||||
Get.toNamed("/calibrationPage", arguments: 1);
|
||||
});
|
||||
} else if (aa == 'unknown') {
|
||||
TopSlideNotification.show(
|
||||
context,
|
||||
text: "获取设备网络类型失败".tr,
|
||||
textColor: themeController.currentColor.sc9,
|
||||
);
|
||||
} else {
|
||||
await initWifiStatusAndWifiList();
|
||||
}
|
||||
@@ -1020,6 +1026,7 @@ class _WifiPageState extends State<WifiPage> {
|
||||
text: "4g设备配置wifi提示".tr,
|
||||
textColor: themeController.currentColor.sc9,
|
||||
);
|
||||
Get.back();
|
||||
});
|
||||
return;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user