From 599e1b342a296f59d1b344f6d706faf6927a468d Mon Sep 17 00:00:00 2001 From: YunaiV Date: Wed, 1 Oct 2025 12:44:06 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E3=80=90antd=E3=80=91=E3=80=90ele?= =?UTF-8?q?=E3=80=91=E7=BB=9F=E4=B8=80=20infra=20=E5=92=8C=20system=20?= =?UTF-8?q?=E7=9A=84=E4=BB=A3=E7=A0=81=E9=A3=8E=E6=A0=BC=EF=BC=88demo03/in?= =?UTF-8?q?ner=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/infra/demo/demo03/inner/data.ts | 2 - .../views/infra/demo/demo03/inner/index.vue | 100 +++++++++--------- .../inner/modules/demo03-course-form.vue | 13 +-- .../inner/modules/demo03-course-list.vue | 4 +- .../inner/modules/demo03-grade-list.vue | 4 +- .../src/views/infra/demo/demo03/inner/data.ts | 5 +- .../views/infra/demo/demo03/inner/index.vue | 26 ++--- .../inner/modules/demo03-course-form.vue | 1 + .../inner/modules/demo03-course-list.vue | 6 +- .../inner/modules/demo03-grade-list.vue | 6 +- 10 files changed, 82 insertions(+), 85 deletions(-) diff --git a/apps/web-antd/src/views/infra/demo/demo03/inner/data.ts b/apps/web-antd/src/views/infra/demo/demo03/inner/data.ts index b10cf0cf..0166ba1c 100644 --- a/apps/web-antd/src/views/infra/demo/demo03/inner/data.ts +++ b/apps/web-antd/src/views/infra/demo/demo03/inner/data.ts @@ -143,7 +143,6 @@ export function useGridColumns(): VxeTableGridOptions item.id!); } -/** 导出表格 */ -async function onExport() { - const data = await exportDemo03Student(await gridApi.formApi.getValues()); - downloadFileFromBlobPart({ fileName: '学生.xls', source: data }); -} - const [Grid, gridApi] = useVbenVxeGrid({ formOptions: { schema: useGridFormSchema(), @@ -134,8 +132,7 @@ const [Grid, gridApi] = useVbenVxeGrid({