|
@@ -82,18 +82,18 @@ const GenerateTarget: React.FC<Props> = ({ target, visible, onChange, onClose })
|
|
|
}
|
|
|
}
|
|
|
} else {
|
|
|
- data.push({
|
|
|
- ...target,
|
|
|
- targetingName: target.targetingName + '+全国',
|
|
|
- targeting: {
|
|
|
- ...target?.targeting || {},
|
|
|
- geoLocation: {
|
|
|
- locationTypes,
|
|
|
- regions: zhongguo
|
|
|
- }
|
|
|
- }
|
|
|
- })
|
|
|
- data = data.concat(getTarget(count - 1, regionsList))
|
|
|
+ // data.push({
|
|
|
+ // ...target,
|
|
|
+ // targetingName: target.targetingName + '+全国',
|
|
|
+ // targeting: {
|
|
|
+ // ...target?.targeting || {},
|
|
|
+ // geoLocation: {
|
|
|
+ // locationTypes,
|
|
|
+ // regions: zhongguo
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+ data = data.concat(getTarget(count, regionsList))
|
|
|
}
|
|
|
onChange?.(data)
|
|
|
}
|