Commit 080262a8 authored by GuanHua's avatar GuanHua

dix: B端商城装修bug修复

parent 95e3c7e2
......@@ -238,8 +238,8 @@ const MixDrawer: React.FC<MixDrawerProps> = (props: MixDrawerProps) => {
},
},
{
title: 'memberName',
dataIndex: 'memberName',
title: 'name',
dataIndex: 'name',
}
]
);
......
......@@ -203,13 +203,13 @@ export const defaultConfig: PageConfigType = {
},
'11': {
loop: '${recommendShops}',
title: '${item.memberName}',
title: '${item.name}',
componentName: 'RecommendShop.Item',
props: {
id: '${item.id}',
registerYears: '${item.registerYears}',
creditPoint: '${item.creditPoint}',
memberName: '${item.memberName}',
memberName: '${item.name}',
logo: '${item.logo}',
productList: '${item.productList}',
productIds: '${item.productIds}',
......@@ -277,11 +277,11 @@ export const defaultConfig: PageConfigType = {
'18': {
loop: '${recommendShopList}',
componentName: 'RecommendShopList.Item',
title: '${item.memberName}',
title: '${item.name}',
props: {
id: '${item.id}',
logo: '${item.logo}',
memberName: '${item.memberName}',
memberName: '${item.name}',
registerYears: '${item.registerYears}',
creditPoint: '${item.creditPoint}',
productList: '${item.productList}',
......
......@@ -103,7 +103,7 @@ const RecomendShops: React.FC<BannerClientProps> = (props: BannerClientProps) =>
return
}
changeProps({
title: record.name || record.memberName,
title: record.name,
props: Object.assign({ ...props }, {
productIds: [...productIds, ...record.map((item) => item.id)],
productList: [...productList, ...record]
......
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