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