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()