Browse Source

店铺首页产品分类筛选,类目参数由-改为,拼接

yangc 8 years ago
parent
commit
610aa56ad9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/store/CommodityList.vue

+ 1 - 1
components/store/CommodityList.vue

@@ -137,7 +137,7 @@ function getAllLeafIds (kind) {
     for (let i = 0; i < kind.children.length; i++) {
       ids.push(getAllLeafIds(kind.children[i]))
     }
-    return ids.join('-')
+    return ids.join(',')
   }
 }
 import Buy from '~components/common/buyOrCar/buyComponent.vue'