소스 검색

筛选改为单选

Abel 1 년 전
부모
커밋
72f085e081
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 5 5
      Asteria/Fuction/Home/Views/productList/KWProductMenuFilterView.m

+ 5 - 5
Asteria/Fuction/Home/Views/productList/KWProductMenuFilterView.m

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