Parcourir la source

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

wjx il y a 5 mois
Parent
commit
c5ecb74a09
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/pages/launchSystemV3/account/index.tsx

+ 1 - 1
src/pages/launchSystemV3/account/index.tsx

@@ -264,7 +264,7 @@ const AdAuthorize: React.FC = () => {
                                 setQueryForm({ ...queryForm, adUnitType: e })
                             }}
                             value={queryForm?.adUnitType}
-                            options={Object.keys(AdUnitType_Enum).filter(item => ['NOVEL', 'NOVEL_IAA', 'SHOP'].includes(item)).map(key => ({ label: AdUnitType_Enum[key as keyof typeof AdUnitType_Enum], value: key }))}
+                            options={Object.keys(AdUnitType_Enum).filter(item => (queryForm.appType == 1 ? ['NOVEL', 'NOVEL_IAA', 'SHOP'] : queryForm.appType == 2 ? ['GAME', 'GAME_IAA'] : ['SKIT_IAA']).includes(item)).map(key => ({ label: AdUnitType_Enum[key as keyof typeof AdUnitType_Enum], value: key }))}
                         />
                         <Button onClick={getList} type='primary' loading={getAdAccountList.loading}>搜索</Button>
                         <AddAccountToGroup onChange={() => getAdAccountList.refresh()} />