fix: 店铺分类查询商品列表添加店铺id
This commit is contained in:
parent
5745ec68f5
commit
b3cfa37bb0
@ -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,
|
||||
|
||||
@ -128,6 +128,7 @@
|
||||
<product-list
|
||||
ref="productList"
|
||||
:uniId="ptConfig.uniId"
|
||||
:storeId="shopInfo.store_id"
|
||||
:isFilterFixed="ptConfig.isFilterFixed"
|
||||
:isShowFilter="ptConfig.isShowFilter"
|
||||
:isShowLoading="ptConfig.isShowLoading"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user