Commit 33d41b9c authored by XieZhiXiong's avatar XieZhiXiong

Merge branch 'v2-220418' of…

Merge branch 'v2-220418' of ssh://gitlab.shushangyun.com:8122/linkseeks-design/pro-platform into feat-memberLevel
parents 02852670 d2d4cf11
......@@ -275,7 +275,10 @@ const CommodityDetail: React.FC = (props: any) => {
setMarketingData(data as unknown as MarketingDetailType);
// 如果有活动标签,则表示是活动商品
if (data.tagDetailList && data.tagDetailList.length > 0) {
setHasActivity(true)
// 排除拼团商品
if (data.tagDetailList.every((item: { activityType: number }) => item.activityType !== MarketingTypeEnum.activity_type_9)) {
setHasActivity(true)
}
} else {
setCurrentGroupDetail(undefined)
setHasActivity(false)
......
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