更新快检功能必传mac参数

This commit is contained in:
wyf
2026-03-14 10:44:28 +08:00
parent 6472baf993
commit 2d28a550bd
28 changed files with 1993 additions and 795 deletions

View File

@@ -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();