去掉wifi判断,宠物笼温度立即刷新
This commit is contained in:
@@ -125,7 +125,8 @@ Assign BOOL isGoChangeWiFi;//更换为设备的WiFi
|
||||
[self.view makeToast:@"请先连接设备热点"];
|
||||
return;
|
||||
}
|
||||
if ([wifiName rangeOfString:@"ifish"].location!=NSNotFound||[wifiName rangeOfString:@"GW"].location!=NSNotFound) {
|
||||
|
||||
|
||||
//wifi正确,则尝试连接设备
|
||||
if(self.deviceType==DEVICECAMERA)
|
||||
{
|
||||
@@ -147,9 +148,7 @@ Assign BOOL isGoChangeWiFi;//更换为设备的WiFi
|
||||
[self.navigationController pushViewController:connecting animated:YES];
|
||||
}
|
||||
|
||||
}else{
|
||||
[self.view makeToast:@"WiFi名称不匹配,请重试"];
|
||||
}
|
||||
|
||||
}];
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user