Explorar el Código

Merge branch 'develop' of http://git.zanxiangnet.com/wjx/ad-manage

wjx hace 9 meses
padre
commit
41679dd702

+ 15 - 0
src/pages/launchSystemV3/adqv3/ad/updateAd3.tsx

@@ -0,0 +1,15 @@
+import { Modal } from "antd"
+import React from "react"
+
+
+
+
+const UpdateAd3: React.FC = () => {
+
+
+    return <Modal>
+        
+    </Modal>
+}
+
+export default React.memo(UpdateAd3)

+ 12 - 12
src/pages/launchSystemV3/tencentAdPutIn/create/Target/generateTarget.tsx

@@ -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)
     }