shenwu il y a 1 an
Parent
commit
20f932e581
1 fichiers modifiés avec 6 ajouts et 5 suppressions
  1. 6 5
      src/pages/launchSystemNew/launchManage/createAd/index.tsx

+ 6 - 5
src/pages/launchSystemNew/launchManage/createAd/index.tsx

@@ -643,7 +643,7 @@ const CreateAd: React.FC = () => {
     // 提交
     const submit = (props: { campaignName: string, count?: number }) => {
         let newQueryForm = JSON.parse(JSON.stringify(queryForm))
-        if (launchMode === 2) {
+        if (launchMode !== 1) {
             if (Array.isArray(newQueryForm.materials) && Array.isArray(newQueryForm?.texts)) {
                 let taskMediaMap = JSON.parse(JSON.stringify(newQueryForm.taskMediaMaps[0]))
                 let adcreativeElements = taskMediaMap.sysAdcreative?.adcreativeElements || {}
@@ -734,6 +734,7 @@ const CreateAd: React.FC = () => {
         delete params?.model
         params.targetSingle = true
         console.log('paramsSubmit====>', params)
+        return
         createAdBatch.run(params).then(res => {
             if (res) {
                 Modal.success({
@@ -960,10 +961,10 @@ const CreateAd: React.FC = () => {
                                 value: 2,
                                 label: "叉乘模式",
                             },
-                            {
-                                value: 3,
-                                label: "顺序模式",
-                            }
+                            // {
+                            //     value: 3,
+                            //     label: "顺序模式",
+                            // }
                         ]}>
                     </Select>
                     {/* <Popconfirm