From 4b0a1eaa1710eeaf02772cf75ab24f3a60021cb5 Mon Sep 17 00:00:00 2001 From: qijq <624811160@qq.com> Date: Mon, 21 Jul 2025 16:13:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=88=86=E7=B1=BB=E4=B8=8B?= =?UTF-8?q?=E5=8A=A0=E4=B8=8Astore=5Fid=20=3D=200?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/category/category.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pages/category/category.vue b/pages/category/category.vue index e393a89..9489c86 100644 --- a/pages/category/category.vue +++ b/pages/category/category.vue @@ -471,7 +471,7 @@ export default { //初始化,默认读取一级分类 if (that.langStandard) { - const params = { size: 500 }; + const params = { size: 500 , store_id:"0"}; that.$.request({ url: that.Config.URL.product.listCategory, loading: false, @@ -480,6 +480,7 @@ export default { timeout: that.Config.CACHE_EXPIRE, }, success(data) { + that.setData({ categoryFirst: data.items, }); @@ -557,6 +558,7 @@ export default { url: that.Config.URL.product.treeCategory, data: { category_parent_id: category_id, + store_id:"0" }, ajaxCache: { timeout: that.Config.CACHE_EXPIRE,