Commit ff6b62dd20c5e212a867be393fa76e3717b0cee9

Authored by 后端研发-苏明海
2 parents fbfb4dcd d95b073f

Merge branch 'test' into 'qa'

Test

See merge request !89
pages/goods/goodsList/goodsList.js
@@ -31,8 +31,10 @@ Page({ @@ -31,8 +31,10 @@ Page({
31 31
32 if (0 != t.cat_id && t.cat_id != undefined) { 32 if (0 != t.cat_id && t.cat_id != undefined) {
33 url += "&cat_id=" + t.cat_id; 33 url += "&cat_id=" + t.cat_id;
34 - if (t.pid != undefined && t.pid != null){ 34 + if (t.pid == undefined || t.pid == null){
35 url += "&parent_id=0"; 35 url += "&parent_id=0";
  36 + }else{
  37 + url += "&parent_id="+t.pid;
36 } 38 }
37 } 39 }
38 40