瀏覽代碼

筛选改为单选

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;