更新分类下加上store_id = 0

This commit is contained in:
qijq 2025-07-21 16:13:07 +08:00
parent 293413a7e7
commit 4b0a1eaa17

View File

@ -471,7 +471,7 @@ export default {
// //
if (that.langStandard) { if (that.langStandard) {
const params = { size: 500 }; const params = { size: 500 , store_id:"0"};
that.$.request({ that.$.request({
url: that.Config.URL.product.listCategory, url: that.Config.URL.product.listCategory,
loading: false, loading: false,
@ -480,6 +480,7 @@ export default {
timeout: that.Config.CACHE_EXPIRE, timeout: that.Config.CACHE_EXPIRE,
}, },
success(data) { success(data) {
that.setData({ that.setData({
categoryFirst: data.items, categoryFirst: data.items,
}); });
@ -557,6 +558,7 @@ export default {
url: that.Config.URL.product.treeCategory, url: that.Config.URL.product.treeCategory,
data: { data: {
category_parent_id: category_id, category_parent_id: category_id,
store_id:"0"
}, },
ajaxCache: { ajaxCache: {
timeout: that.Config.CACHE_EXPIRE, timeout: that.Config.CACHE_EXPIRE,