Skip to content

Commit

Permalink
chore(generator): 调整代码生成前端模板
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles7c committed Oct 23, 2024
1 parent 60cb2e3 commit 2b47ed7
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@
<template #default>导出</template>
</a-button>
</template>
<#-- 列字段配置 -->
<template #name="{ record }">
<a-link @click="onDetail(record)">{{ record.name }}</a-link>
</template>
<#list fieldConfigs as fieldConfig>
<#if fieldConfig.showInList>
<#if fieldConfig.dictCode?? && fieldConfig.dictCode != "">
Expand All @@ -87,6 +83,7 @@
</#list>
<template #action="{ record }">
<a-space>
<a-link v-permission="['${apiModuleName}:${apiName}:list']" @click="onDetail(record)">查看</a-link>
<a-link v-permission="['${apiModuleName}:${apiName}:update']" @click="onUpdate(record)">修改</a-link>
<a-link
v-permission="['${apiModuleName}:${apiName}:delete']"
Expand Down

0 comments on commit 2b47ed7

Please sign in to comment.