Commit 5c3bbb32 authored by mac's avatar mac

崩溃BUG 处理

parent e1b485b9
......@@ -283,12 +283,12 @@
NSString *str=@"";
if (self.productModelArray.count>0) {
for (int i=0; i<self.productModelArray.count; i++) {
ImageCropperView *cropper=[self.productModelArray objectAtIndex:i];
TOGoodsEntity *GoodsEntity=[self.productModelArray objectAtIndex:i];
if ([str isEqualToString:@""]) {
str=[NSString stringWithFormat:@"%@",cropper.GoodsEntity.fid];
str=[NSString stringWithFormat:@"%@",GoodsEntity.fid];
}else
{
str=[NSString stringWithFormat:@"%@,%@",str,cropper.GoodsEntity.fid];
str=[NSString stringWithFormat:@"%@,%@",str,GoodsEntity.fid];
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment