wjx 2 days ago
parent
commit
7ab3b9980f

+ 3 - 3
src/pages/launchSystemV3/tencentAdPutIn/create/Dynamic/newDynamic.tsx

@@ -65,9 +65,6 @@ const NewDynamic: React.FC<Props> = ({ putInType, value: newValue, visible, onCl
                 wechatSceneSpecPosition: sceneSpec?.wechatPosition || [],
                 taskType: putInType
             }
-            if (siteSet?.length > 0) {
-                params.siteSet = (siteSet as any).filter((item: string) => item !== 'SITE_SET_SEARCH_SCENE')
-            }
             if (putInType === 'GAME') {
                 params.marketingSubGoal = marketingSubGoal
             }
@@ -181,6 +178,9 @@ const NewDynamic: React.FC<Props> = ({ putInType, value: newValue, visible, onCl
                 params.automaticSiteEnabled = automaticSiteEnabled
             } else {
                 params.siteSet = siteSet
+                if (siteSet?.length > 0) {
+                    params.siteSet = (siteSet as any).filter((item: string) => item !== 'SITE_SET_SEARCH_SCENE')
+                }
             }
             params.taskType = putInType
             if (putInType === 'GAME') {