|
@@ -48,7 +48,7 @@ const GameListFlag: FC<Props> = (props) => {
|
|
|
if (pageType === PageType.Default || !pageType) {
|
|
|
res = await searchGameListApi(params.current);
|
|
|
}
|
|
|
- if (pageType === PageType.History) {
|
|
|
+ if (Number(pageType) === PageType.History) {
|
|
|
res = await getGameHistory();
|
|
|
}
|
|
|
|