更新分类下加上store_id = 0
This commit is contained in:
parent
293413a7e7
commit
4b0a1eaa17
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user