wjx 10 uur geleden
bovenliggende
commit
8f4e61bf01
1 gewijzigde bestanden met toevoegingen van 5 en 0 verwijderingen
  1. 5 0
      src/pages/launchSystemV3/components/PageModal/indexOfficial.tsx

+ 5 - 0
src/pages/launchSystemV3/components/PageModal/indexOfficial.tsx

@@ -78,6 +78,11 @@ const PageOfficialModal: React.FC<Props> = (props) => {
             pageType: 'PAGE_TYPE_OFFICIAL',
             creativeTemplateId: creativeTemplateId || 311
         }
+        const wechatChannelList: { wechatOfficialAccountId: string }[] = data[selectAdz - 1]?.wechatChannelList || []
+        const marketingCarrierId = wechatChannelList?.[0]?.wechatOfficialAccountId
+        if (marketingCarrierId) {
+            params.marketingCarrierId = marketingCarrierId
+        }
         if (params.isSqDownPage) {
             if (!params?.ownerUid) {
                 setTableData({ total: 0, records: [] })