From 050498a55a6dfc0a999c7246dfbd872bbf401554 Mon Sep 17 00:00:00 2001 From: xingyu Date: Wed, 4 Jan 2023 16:35:09 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20vue3=20=E4=BB=A3=E7=A0=81=E7=94=9F?= =?UTF-8?q?=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/codegen/vue3/views/index.vue.vm | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/views/index.vue.vm b/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/views/index.vue.vm index 94a9e11df..6b520c2c3 100644 --- a/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/views/index.vue.vm +++ b/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/views/index.vue.vm @@ -17,7 +17,7 @@ preIcon="ep:download" :title="t('action.export')" v-hasPermi="['${permissionPrefix}:export']" - @click="handleExport()" + @click="exportList('${table.classComment}.xls')" /> @@ -119,11 +119,6 @@ const handleCreate = () => { modelLoading.value = false } -// 导出操作 -const handleExport = async () => { - await exportList('${table.classComment}.xls') -} - // 修改操作 const handleUpdate = async (rowId: number) => { setDialogTile('update') @@ -141,11 +136,6 @@ const handleDetail = async (rowId: number) => { modelLoading.value = false } -// 删除操作 -const handleDelete = async (rowId: number) => { - await deleteData(rowId) -} - // 提交按钮 const submitForm = async () => { const elForm = unref(formRef)?.getElFormRef()