shenwu 2 rokov pred
rodič
commit
7f6e071720

+ 2 - 0
src/pages/launchSystemNew/launchManage/createAd/creative/modal/index.tsx

@@ -357,6 +357,8 @@ function CreativePup(props: Props) {
                         }
                     })
                 })
+                /*****暂时排除激励和banner有问题******/ 
+                newArr = newArr.filter((item: { adcreativeTemplateId: number })=>item.adcreativeTemplateId !== 910 && item.adcreativeTemplateId !== 925)
                 set_adcreative_template_list(newArr)
             })
         }

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

@@ -67,8 +67,9 @@ function TargetIng(props: Props) {
         <div className={style.center}>
             <Spin spinning={getsysTargeting.loading}>
                 <div className={style.centerContent}>
-                    {queryForm?.sysTargetingId ? <>
-                        {accountCreateLogs?.some((item: any) => item?.customAudienceList?.length > 0) ? <>
+                    {queryForm?.sysTargeting ? <>
+                        {accountCreateLogs?.some((item: any) => item?.customAudienceList?.length > 0) ?
+                         <>
                             {queryForm.sysTargeting && <Popover
                                 content={<div className={style.popover}>
                                     <TargetingTooltip data={queryForm.sysTargeting} geoLocationList={geoLocationList} modelList={modelList} />
@@ -110,7 +111,9 @@ function TargetIng(props: Props) {
                                     return null
                                 }
                             })}
-                        </> : <>
+                        </> 
+                        : 
+                        <>
                             <div><strong>定向名称:</strong> <span style={{color:"#5a5a5a"}}>{queryForm?.sysTargeting?.targetingName}</span></div>
                             <div><strong>定向描述:</strong> <span style={{color:"#5a5a5a"}}>{queryForm?.sysTargeting?.description || '<空>'}</span></div>
                             <TargetingTooltip data={queryForm?.sysTargeting} geoLocationList={geoLocationList} modelList={modelList} />