Commit ed721cd97f3e4d1c90d751457fbb9f50299ea99f
1 parent
dd30ebed
商品分类新版,只有主类的时候,没有cat_id
Showing
1 changed file
with
1 additions
and
1 deletions
pages/goods/categoryList/categoryList.js
... | ... | @@ -466,7 +466,7 @@ Page({ |
466 | 466 | if (indexs==220){ this.get_brand();} |
467 | 467 | if (arr!="undefined" && arr!=undefined){ |
468 | 468 | if (arr.length==0){ |
469 | - this.setData({ select_classify_on: indexs, index: indexs, classify_name: name, | |
469 | + this.setData({ select_classify_on: indexs, index: indexs, classify_name: name,cat_id:cid, | |
470 | 470 | goodslist: null,is_level_three: 0 }); |
471 | 471 | return false; |
472 | 472 | } | ... | ... |