Commit eb0b3d52 authored by 前端-钟卫鹏's avatar 前端-钟卫鹏
parents 1b4fecae a72936ae
......@@ -148,7 +148,11 @@ const CardNavItem: React.FC<CardNavItemProps> = (props: CardNavItemProps) => {
case 2:
return PublicApi.getTemplateWebActivityPageGet
case 5:
return PublicApi.getManageShopDetails
if (layoutType === 'own') {
return PublicApi.getManageActivityShopRuleDetails
} else {
return PublicApi.getManageShopDetails
}
default:
return async () => { }
}
......@@ -323,10 +327,8 @@ const CardNavItem: React.FC<CardNavItemProps> = (props: CardNavItemProps) => {
}
if (values.channel && values.type === 3) {
newProps.id = values.channel
} else if (values.type === 2) {
} else if (values.type === 2 || values.type === 5) {
newProps.id = record ? record?.id : undefined
} else if (values.type === 5) {
newProps.id = record ? record?.shopId : undefined
}
changeProps({
......
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