Commit 02a79275 authored by 卢均锐's avatar 卢均锐

fix: c端首页装修 商品推荐增加自定义商品限制

parent d985056b
...@@ -902,7 +902,7 @@ const mobileClientEdit: React.FC<ShopPreviewPropsType> = (props) => { ...@@ -902,7 +902,7 @@ const mobileClientEdit: React.FC<ShopPreviewPropsType> = (props) => {
childNodes: [], childNodes: [],
}; };
!_suggestProductConfig['10'].childNodes.includes(_newKey) && _suggestProductConfig['10'].childNodes.push(_newKey); !_suggestProductConfig['10'].childNodes.includes(_newKey) && _suggestProductConfig['10'].childNodes.push(_newKey);
if (item?.customize) { if (item?.customize && item.type === 3) {
const _ids = item.customize.map((item) => item.id).join(','); const _ids = item.customize.map((item) => item.id).join(',');
const _parmas: any = { shopId, idInList: _ids, current: '1', pageSize: '100' }; const _parmas: any = { shopId, idInList: _ids, current: '1', pageSize: '100' };
const _detailsData = await getMarketingAdornGoodsListAdorn(_parmas); const _detailsData = await getMarketingAdornGoodsListAdorn(_parmas);
......
...@@ -900,7 +900,7 @@ const mobileClientEdit: React.FC<ShopPreviewPropsType> = (props) => { ...@@ -900,7 +900,7 @@ const mobileClientEdit: React.FC<ShopPreviewPropsType> = (props) => {
childNodes: [], childNodes: [],
}; };
!_suggestProductConfig['10'].childNodes.includes(_newKey) && _suggestProductConfig['10'].childNodes.push(_newKey); !_suggestProductConfig['10'].childNodes.includes(_newKey) && _suggestProductConfig['10'].childNodes.push(_newKey);
if (item?.customize) { if (item?.customize && item.type === 3) {
const _ids = item.customize.map((item) => item.id).join(','); const _ids = item.customize.map((item) => item.id).join(',');
const _parmas: any = { shopId, idInList: _ids, current: '1', pageSize: '100' }; const _parmas: any = { shopId, idInList: _ids, current: '1', pageSize: '100' };
const _detailsData = await getMarketingAdornGoodsListAdorn(_parmas); const _detailsData = await getMarketingAdornGoodsListAdorn(_parmas);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment