服务指令:解决分页时不同页出现重复数据问题

This commit is contained in:
1378012178@qq.com 2025-03-28 10:25:16 +08:00
parent 8a246483bc
commit e269577c3c
1 changed files with 2 additions and 2 deletions

View File

@ -234,8 +234,8 @@ const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({
fixed: 'right',
},
beforeFetch: async (params) => {
params.column = 'categoryId,typeId,instructionTagId'
params.order = 'asc,asc,asc'
params.column = 'createTime'
params.order = 'desc'
let rangerQuery = await setRangeQuery();
return Object.assign(params, rangerQuery);
},