From d3c32c23fd1379862de2836b0635f14c3a22cbd1 Mon Sep 17 00:00:00 2001 From: 18278715334 <18278715334@163.com> Date: Sun, 4 Jan 2026 17:19:01 +0800 Subject: [PATCH] fix --- .../src/views/agent/agent-withdrawal/list.vue | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) 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, });