移除代码生成器批量删除剩余部分

This commit is contained in:
Jason 2022-08-17 11:42:32 +08:00
parent cfc3f55b16
commit 259db657e1
2 changed files with 1 additions and 13 deletions

View File

@ -219,14 +219,13 @@ const setFormData = async (data: Record<string, any>) => {
}
}
const getDetail = (row: Record<string, any>) => {
const getDetail = async (row: Record<string, any>) => {
const data = await ${moduleName}Detail({
${primaryKey}: row.${primaryKey}
})
setFormData(data)
}
const handleClose = () => {
emit('close')
}

View File

@ -52,17 +52,6 @@
</template>
新增
</el-button>
<el-button
v-perms="['${moduleName}:del']"
:disabled="!selectData.length"
type="danger"
@click="handleDelete(selectData)"
>
<template #icon>
<icon name="el-icon-Delete" />
</template>
删除
</el-button>
</div>
<el-table
class="mt-4"