修改 列表页不要 load ,提高流畅

This commit is contained in:
张成
2025-09-16 10:01:27 +08:00
parent 4ef92e4569
commit 97ef21c366

View File

@@ -25,7 +25,7 @@ export const getGamesList = async (params?: Record<string, any>) => {
*/
// const isIntegrate = params?.order === '0';
// const fetchApi = isIntegrate ? '/games/integrate_list' : '/games/list'
return httpService.post('/games/list', params, { showLoading: true })
return httpService.post('/games/list', params, { showLoading: false })
} catch (error) {
console.error("列表数据获取失败:", error);
throw error;
@@ -39,7 +39,7 @@ export const getGamesList = async (params?: Record<string, any>) => {
*/
export const getGamesIntegrateList = async (params?: Record<string, any>) => {
try {
return httpService.post('/games/integrate_list', params, { showLoading: true })
return httpService.post('/games/integrate_list', params, { showLoading: false })
} catch (error) {
console.error("列表数据获取失败:", error);
throw error;