wjx 5 ماه پیش
والد
کامیت
5e57f2fd7c
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/pages/launchSystemV3/account/index.tsx

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

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