浏览代码

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: [] })