修改 列表页不要 load ,提高流畅
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user