diff --git a/apps/web-antd/src/views/agent/agent-withdrawal/list.vue b/apps/web-antd/src/views/agent/agent-withdrawal/list.vue index 59c6cb8..2f1907d 100644 --- a/apps/web-antd/src/views/agent/agent-withdrawal/list.vue +++ b/apps/web-antd/src/views/agent/agent-withdrawal/list.vue @@ -53,27 +53,17 @@ const [Grid, gridApi] = useVbenVxeGrid({ schema: useWithdrawalFormSchema(), submitOnChange: true, }, - gridOptions: { + gridOptions: { columns: useWithdrawalColumns(), proxyConfig: { ajax: { query: async ({ page, - form, }: { page: QueryParams; - form: Record; }) => { - // 过滤掉 undefined 和 null 值 - const filteredForm = Object.fromEntries( - Object.entries(form).filter( - ([_, value]) => value !== undefined && value !== null && value !== '', - ), - ); - return await getAgentWithdrawalList({ ...queryParams.value, - ...filteredForm, page: page.currentPage, pageSize: page.pageSize, });