fix: sort parameter is missing (#849)
* fix: 审计日志翻页sort丢失 * fix: 审计日志翻页sort丢失 * fix: 审计日志翻页sort丢失 Co-authored-by: 唐小爱 <tangxiaoai@192.168.0.103> (cherry picked from commit 88190100cbd64bccaa548de069a727272c04e8f1)
This commit is contained in:
parent
f490fd358a
commit
72372f34e9
@ -145,8 +145,7 @@ export const useTableBlockProps = () => {
|
||||
? sorter.order === `ascend`
|
||||
? [sorter.field]
|
||||
: [`-${sorter.field}`]
|
||||
: globalSort || null;
|
||||
|
||||
: globalSort || ctx.service.params?.[0]?.sort;
|
||||
ctx.service.run({ ...ctx.service.params?.[0], page: current, pageSize, sort });
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user