|
@@ -263,7 +263,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()} />
|