mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2026-01-01 01:25:28 +08:00
使用useListPage的导出异常 #9209
This commit is contained in:
@ -75,6 +75,10 @@ export function useListPage(options: ListPageOptions) {
|
||||
if (options?.tableProps?.useSearchForm !== false) {
|
||||
paramsForm = await getForm().validate();
|
||||
console.log('paramsForm', paramsForm);
|
||||
// 在这里把执行beforeFetch
|
||||
if (options?.tableProps?.beforeFetch) {
|
||||
paramsForm = await options?.tableProps?.beforeFetch(paramsForm);
|
||||
}
|
||||
}
|
||||
} catch (e) {
|
||||
console.warn(e);
|
||||
|
||||
Reference in New Issue
Block a user