微信登陆,bug修改
This commit is contained in:
+5
-1
@@ -313,7 +313,11 @@ self.attentionLabel.text=@"1、请长按摄像头背后复位孔,复位摄像
|
||||
[self.navigationController pushViewController:vc animated:YES];
|
||||
}
|
||||
-(void)sBtn:(UIButton*)btn{
|
||||
NSString *ssidName = [self.wifiName substringWithRange:NSMakeRange(self.wifiName.length-2, 2)];
|
||||
NSString *ssidName =@"";
|
||||
if (self.wifiName.length>2) {
|
||||
ssidName= [self.wifiName substringWithRange:NSMakeRange(self.wifiName.length-2, 2)];
|
||||
}
|
||||
|
||||
if ([ssidName.uppercaseString isEqualToString:@"5G"]) {
|
||||
UIAlertView *alert= [[UIAlertView alloc] initWithTitle:@"" message:@"仅支持2.4G WI-Fi网络,请重新选择" delegate:nil cancelButtonTitle:@"去更改" otherButtonTitles:nil, nil];
|
||||
[alert show];
|
||||
|
||||
+3
-3
@@ -1436,19 +1436,19 @@
|
||||
}else if ([self.device.type isEqualToString:DECICE_TYPE_SONGNEWBD]){
|
||||
//self.btnNameArr = @[@"灯1",@"灯2",@"水泵",@"氧泵",@"加热棒"];
|
||||
SongNuo86Name* songNuo = [UserExtendataArchaver currentSongNuo86:self.device.macAddress];
|
||||
self.btnNameArr = @[songNuo.light1,songNuo.light2,songNuo.waterPump,songNuo.airPump,songNuo.guideng,songNuo.jiaRe];
|
||||
self.btnNameArr = @[songNuo.light1,songNuo.light2,songNuo.waterPump,songNuo.airPump,songNuo.guideng,songNuo.jiaRe,songNuo.jiaRe];
|
||||
|
||||
self.btnImgArr = @[LXImageWithImageName(@"bootview_light_off"),
|
||||
LXImageWithImageName(@"bootview_light_off"),
|
||||
LXImageWithImageName(@"bootview_pump_off"),
|
||||
LXImageWithImageName(@"bootview_022_off"),
|
||||
LXImageWithImageName(@"bootview_heat_off")];
|
||||
LXImageWithImageName(@"bootview_heat_off"),LXImageWithImageName(@"bootview_heat_off")];
|
||||
|
||||
self.btnOnImgArr = @[LXImageWithImageName(@"bootview_light_on"),
|
||||
LXImageWithImageName(@"bootview_light_on"),
|
||||
LXImageWithImageName(@"bootview_pump_on"),
|
||||
LXImageWithImageName(@"bootview_022_on"),
|
||||
LXImageWithImageName(@"bootview_heat_on")];
|
||||
LXImageWithImageName(@"bootview_heat_on"),LXImageWithImageName(@"bootview_heat_on")];
|
||||
|
||||
} else if ([self.device.type isEqualToString:DECICE_TYPE_RUIMEI]){
|
||||
//self.btnNameArr = @[@"灯1",@"灯2",@"水泵",@"氧泵",@"加热棒"];
|
||||
|
||||
Reference in New Issue
Block a user