更新快检功能必传mac参数
This commit is contained in:
@@ -57,7 +57,7 @@ class _MHTWifiPageState extends State<MHTWifiPage> {
|
||||
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) async {
|
||||
// _initController();
|
||||
blueteethBindController.shareDevice = widget.deviceInfo;
|
||||
blueteethBindController.shareDevice = widget.deviceInfo;
|
||||
await dealWifi(widget.deviceInfo.macA);
|
||||
print("object");
|
||||
});
|
||||
@@ -1231,14 +1231,21 @@ class _MHTWifiPageState extends State<MHTWifiPage> {
|
||||
blueteethBindController.updateAll();
|
||||
updateDeviceBindStatus(
|
||||
blueteethBindController.currentDeviceMac!.value);
|
||||
await showTipDialog(
|
||||
context,
|
||||
Text(
|
||||
"4g设备配置wifi提示".tr,
|
||||
style: TextStyle(
|
||||
color: themeController.currentColor.sc3,
|
||||
fontSize: AppConstants().title_text_fontSize),
|
||||
));
|
||||
// await showTipDialog(
|
||||
// context,
|
||||
// Text(
|
||||
// "4g设备配置wifi提示".tr,
|
||||
// style: TextStyle(
|
||||
// color: themeController.currentColor.sc3,
|
||||
// fontSize: AppConstants().title_text_fontSize),
|
||||
// ));
|
||||
TopSlideNotification.show(
|
||||
context,
|
||||
text: "4g设备配置wifi提示".tr,
|
||||
textColor: themeController.currentColor.sc2,
|
||||
);
|
||||
blueteethBindController.wifiStatus.value = 1;
|
||||
_navigateToNextPage();
|
||||
} else if (aa == 'unknown') {
|
||||
blueteethBindController.netType.value = 3;
|
||||
blueteethBindController.updateAll();
|
||||
|
||||
Reference in New Issue
Block a user