fix: 店铺分类查询商品列表添加店铺id

This commit is contained in:
mixtan 2025-08-22 15:27:55 +08:00
parent 5745ec68f5
commit b3cfa37bb0
2 changed files with 15 additions and 0 deletions

View File

@ -834,6 +834,13 @@ export default {
},
},
storeId: {
type: Number,
default() {
return 0;
},
},
viewtype: {
type: Number,
default: 1,
@ -1569,6 +1576,13 @@ export default {
params.market_category_ids = that.post.market_category_ids.join(",");
params.product_tags = that.post.product_tags.join(",");
if(this.storeId!=0){
params.store_id = this.storeId
}
console.log('storeId',this.storeId);
that.$.request({
url: url,
data: params,

View File

@ -128,6 +128,7 @@
<product-list
ref="productList"
:uniId="ptConfig.uniId"
:storeId="shopInfo.store_id"
:isFilterFixed="ptConfig.isFilterFixed"
:isShowFilter="ptConfig.isShowFilter"
:isShowLoading="ptConfig.isShowLoading"