diff --git a/packageC/pages/goods/distributionCategoryList/index.js b/packageC/pages/goods/distributionCategoryList/index.js index bce472c..13e3a79 100644 --- a/packageC/pages/goods/distributionCategoryList/index.js +++ b/packageC/pages/goods/distributionCategoryList/index.js @@ -143,9 +143,9 @@ Page({ that.setData({ store_config: e, is_do: 1 }); //---有勾品类--- - if (that.data.is_show_pl) { - that.getGoodsCategoris(); - } + //if (that.data.is_show_pl) { + // that.getGoodsCategoris(); + //} if (that.data.is_show_gb != 1 && that.data.is_show_pp != 1 && that.data.is_show_pl) { that.data.pl_timer = setInterval(function () { if (that.data.catelist.length > 0) { @@ -521,6 +521,7 @@ Page({ let { currentData } = this.data; currentData.cat_id = this.data.cat_id; currentData.page = this.data.stylePage; + currentData.parent_id = 0; let url = '/api/weshop/users/distribut/pagemyshop'; getApp().promiseGet(url, { diff --git a/packageC/pages/goods/distributionCategoryList/index.wxml b/packageC/pages/goods/distributionCategoryList/index.wxml index ad0d7cb..f34a559 100644 --- a/packageC/pages/goods/distributionCategoryList/index.wxml +++ b/packageC/pages/goods/distributionCategoryList/index.wxml @@ -33,7 +33,8 @@ - + {{item.name}}