소스 검색

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

wjx 14 시간 전
부모
커밋
cd0c759598
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  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: [] })