feature: Store Product Isolation

This commit is contained in:
zhangjing1
2025-11-24 14:42:15 +08:00
parent 449da9450f
commit b8122b0da8
2 changed files with 21 additions and 3 deletions

View File

@@ -79,7 +79,8 @@ const initialState = {
skuPanelOpen: false,
selectType: 'picker',
navigateMantle: false,
footerHeight: 0
footerHeight: 0,
distributor_id: null
}
function Home() {
@@ -113,7 +114,8 @@ function Home() {
skuPanelOpen,
selectType,
navigateMantle,
footerHeight
footerHeight,
distributor_id
} = state
const dispatch = useDispatch()
@@ -214,6 +216,7 @@ function Home() {
draft.isShowHomeHeader = isShowHomeHeader
draft.filterWgts = filterWgts
draft.loading = false
draft.distributor_id = distributor_id
})
}
@@ -307,7 +310,7 @@ function Home() {
footerHeight: state.footerHeight
}}
>
<HomeWgts wgts={filterWgts} onLoad={fetchLikeList}>
<HomeWgts wgts={filterWgts} onLoad={fetchLikeList} dtid={state.distributor_id}>
{/* 猜你喜欢 */}
<SpRecommend className='recommend-block' info={likeList} />
</HomeWgts>

View File

@@ -12633,5 +12633,20 @@
"zh-cn": "总计:",
"en": "Total:",
"zh-tw": "總計:"
},
"d0x6rc4": {
"zh-cn": "批量处理",
"en": "",
"zh-tw": ""
},
"7djicl6": {
"zh-cn": "请输入订单号",
"en": "",
"zh-tw": ""
},
"chl18c4": {
"zh-cn": "开票失败",
"en": "",
"zh-tw": ""
}
}