wjx 5 месяцев назад
Родитель
Сommit
8cdb523a56

+ 1 - 1
src/pages/launchSystemV3/material/cloudNew/selectGroupCloudNew.tsx

@@ -78,7 +78,7 @@ const SelectGroupCloudNew: React.FC<CLOUDNEW.SelectGroupCloudNewProps> = ({ num,
                     })
                     if (GrounpArray.length === 1 && !groupAccount['undefined']) {
                         setOwnerAccountId(GrounpArray?.[0]?.[0]?.authMainAccountId || GrounpArray?.[0]?.[0]?.accountId)
-                    } else if (GrounpArray.length === 2 && groupAccount?.['undefined']?.length === 1 && groupAccount?.['undefined']?.[0]?.isGroupMainAccount) { // && groupAccount?.['undefined']?.[0]?.isGroupMainAccount
+                    } else if (GrounpArray.length === 2 && groupAccount?.['undefined']?.length === 1) {
                         const undefinedAccount = groupAccount?.['undefined'][0].accountId
                         let authMainAccountId: any
                         Object.keys(groupAccount).forEach(key => {

+ 1 - 1
src/pages/launchSystemV3/tencentAdPutIn/create/SelectAccount/index.tsx

@@ -58,7 +58,7 @@ const SelectAccount: React.FC<Props> = ({ putInType, accountCreateLogs, setAccou
             })
             if (GrounpArray.length === 1 && !groupAccount['undefined']) {
                 return { authMainAccountId: GrounpArray?.[0]?.[0]?.authMainAccountId || GrounpArray?.[0]?.[0]?.accountId, isSelectRemote: true }
-            } else if (GrounpArray.length === 2 && groupAccount?.['undefined']?.length === 1 && groupAccount?.['undefined']?.[0]?.isGroupMainAccount) {
+            } else if (GrounpArray.length === 2 && groupAccount?.['undefined']?.length === 1) {
                 const undefinedAccount = groupAccount?.['undefined'][0].accountId
                 let authMainAccountId: any
                 Object.keys(groupAccount).forEach(key => {