From 00e95f171ac3fb7fc8606d27342e886504b578fe Mon Sep 17 00:00:00 2001 From: yvan.ni Date: Tue, 27 Sep 2022 10:16:15 +0800 Subject: [PATCH] 我的小店,我的分类商品 --- packageC/pages/goods/distributionCategoryList/index.js | 7 ++++--- packageC/pages/goods/distributionCategoryList/index.wxml | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) 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}} -- libgit2 0.21.4