From 050498a55a6dfc0a999c7246dfbd872bbf401554 Mon Sep 17 00:00:00 2001 From: xingyu Date: Wed, 4 Jan 2023 16:35:09 +0800 Subject: [PATCH] perf: vue3 代码生成 --- yudao-module-infra/yudao-module-infra-biz/src/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 94a9e11..6b520c2 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() -- libgit2 0.21.4