1.更新消息阅读时间

2.修复配置wifi时wifi名称存在空格时配置失败
3.修复门店体验列表刷新失败
This commit is contained in:
wyf
2025-12-24 14:56:35 +08:00
parent 516ad431ad
commit 1dcef1090d
11 changed files with 490 additions and 140 deletions

View File

@@ -508,9 +508,10 @@ class _DeviceComponentWidgetState extends State<DeviceComponentWidget> {
const int maxRetries = 2;
const Duration timeout = Duration(seconds: 5);
String? macAddress;
THapp bledevice = THapp(device: device.scanResult.device);
try {
// 连接设备
THapp bledevice = THapp(device: device.scanResult.device);
await bledevice.connect();
var res2 = bledevice.isConnected;
if (!res2) {
@@ -545,6 +546,7 @@ class _DeviceComponentWidgetState extends State<DeviceComponentWidget> {
print('MAC地址: $macAddress');
return macAddress;
} catch (e) {
bledevice.disconnect();
blueteethBindController.currentDeviceMac.value = "";
edm.EasyDartModule.logger.error("蓝牙获取MAC失败$e");
DailyLogUtils.printLog("蓝牙获取MAC失败$e");

View File

@@ -870,6 +870,8 @@ class _MHTPeopleInfoPageState extends State<MHTPeopleInfoPage> {
stringToColor("#84F5FF"),
selectedCityColor:
stringToColor("#84F5FF"),
selectedTextColor:
stringToColor("#011D33"),
),
);
});