|
@@ -276,7 +276,6 @@
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
KWProductListFilterSubModel *subM = mainM.attribute_data[index.item];
|
|
KWProductListFilterSubModel *subM = mainM.attribute_data[index.item];
|
|
- subM.fathName = mainM.attribute_name;
|
|
|
|
subM.status = 1;
|
|
subM.status = 1;
|
|
BOOL isselct = [self hadSelectIndex:index];
|
|
BOOL isselct = [self hadSelectIndex:index];
|
|
if (isselct) {
|
|
if (isselct) {
|
|
@@ -288,10 +287,11 @@
|
|
[self.collectV reloadData];
|
|
[self.collectV reloadData];
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
- NSMutableArray *tempSubs = self.vm.selectDic[mainM.attribute_id];
|
|
|
|
- if (tempSubs == nil) {
|
|
|
|
- tempSubs = [NSMutableArray array];
|
|
|
|
- }
|
|
|
|
|
|
+ NSMutableArray *tempSubs = [NSMutableArray array];
|
|
|
|
+// NSMutableArray *tempSubs = self.vm.selectDic[mainM.attribute_id];
|
|
|
|
+// if (tempSubs == nil) {
|
|
|
|
+// tempSubs = [NSMutableArray array];
|
|
|
|
+// }
|
|
[tempSubs addObject:subM];
|
|
[tempSubs addObject:subM];
|
|
self.vm.selectDic[mainM.attribute_id] = tempSubs;
|
|
self.vm.selectDic[mainM.attribute_id] = tempSubs;
|
|
|
|
|