mirror of
https://gitee.com/jeecg/JeecgBoot.git
synced 2025-12-30 01:12:25 +00: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