@@ -227,6 +227,7 @@ Page({
case 1:
case 2:
case 3:
+ case 4:
// need Login
if (hasAuth) {
if (index == 0) {
@@ -513,7 +513,14 @@ Page({
num++;
} else {
clearInterval(timeId);
- util.showToast('配网失败,请检查wifi密码或设备是否连接正常');
+ wx.showModal({
+ title: '提示',
+ content: '配网失败,请检查wifi密码或设备是否连接正常',
+ showCancel: false
+ });
+ self.setData({
+ showBluetoothConnected: false
// self.setFailProcess(true, util.descFailList[4]);
}
}, 1000)