|
@@ -332,18 +332,18 @@ const QueryForm: React.FC<Props> = (props) => {
|
|
|
if (isGameId || isOrderGameId || isParentId || isParentIds || isGameIds || isSuperParentGameId) {
|
|
|
getGameListNew.run({ sourceSystem }).then(res => {
|
|
|
const { gameList, parentGameList, superGameList } = res
|
|
|
- if (['BG_OLD', 'BG_NEW', 'ZX_SDK'].includes(sourceSystem)) {
|
|
|
+ // if (['BG_OLD', 'BG_NEW', 'ZX_SDK'].includes(sourceSystem)) {
|
|
|
setGameList(gameList?.map((item: { id: any; game_name: any }) => ({ id: item.id, name: item.game_name })) || [])
|
|
|
- }
|
|
|
+ // }
|
|
|
setParentGameList(parentGameList)
|
|
|
setSuperGameList(superGameList)
|
|
|
})
|
|
|
|
|
|
- if (sourceSystem === 'ZX_ONE') {
|
|
|
- getGameChoiceList.run().then(res => {
|
|
|
- setGameList(res || [])
|
|
|
- })
|
|
|
- }
|
|
|
+ // if (sourceSystem === 'ZX_ONE') {
|
|
|
+ // getGameChoiceList.run().then(res => {
|
|
|
+ // setGameList(res || [])
|
|
|
+ // })
|
|
|
+ // }
|
|
|
}
|
|
|
}, [isGameId, isGameIds, isOrderGameId, isParentId, isParentIds, isSuperParentGameId, sourceSystem])
|
|
|
|