[AI Generated]: feat(Comp): 优化WiFi获取状态展示、下发失败自动重试、同步前清除设备用户数据
This commit is contained in:
@@ -250,8 +250,11 @@ Component({
|
||||
syncIndex++;
|
||||
syncNext();
|
||||
} else {
|
||||
wx.hideLoading();
|
||||
wx.showToast({ title: "用户信息下发失败,请重试。", icon: "none" });
|
||||
// wx.hideLoading();
|
||||
// wx.showToast({ title: "用户信息下发失败,请重试。", icon: "none" });
|
||||
|
||||
// 失败自动重试当前用户
|
||||
syncNext();
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<view class="configureDevice2">
|
||||
<view class="header">
|
||||
<view>
|
||||
<view>智能蓝牙秤</view>
|
||||
<view bind:longpress="fetchUserList">智能蓝牙秤</view>
|
||||
<view bind:longpress="onDeviceLongPress">型号:{{device.name}}</view>
|
||||
</view>
|
||||
<view>
|
||||
|
||||
Reference in New Issue
Block a user