fix crud reload error (#5581)

This commit is contained in:
hsm-lv 2022-10-18 11:37:15 +08:00 committed by GitHub
parent 4ae709eb85
commit 04a79c2300
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2286,9 +2286,9 @@ export class CRUDRenderer extends CRUD {
return super.reload(
subpath,
omit(query, 'resetPage'),
query ? omit(query, 'resetPage') : query,
replace,
query.resetPage ?? true
query?.resetPage ?? true
);
}