Skip to content

Commit

Permalink
chore: 优化代码生成模板
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles7c committed May 1, 2024
1 parent 0a0353f commit dc92731
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<span>新增</span>
</a-button>
<a-tooltip content="导出">
<a-button v-permission="['${apiModuleName}:${apiName}:export']" @click="onExport">
<a-button v-permission="['${apiModuleName}:${apiName}:export']" class="gi_hover_btn-border" @click="onExport">
<template #icon>
<icon-download />
</template>
Expand Down Expand Up @@ -74,7 +74,7 @@ const columns: TableInstanceColumns[] = [
<#if fieldConfigs??>
<#list fieldConfigs as fieldConfig>
<#if fieldConfig.showInList>
{ title: '${fieldConfig.comment}', dataIndex: '${fieldConfig.fieldName}' },
{ title: '${fieldConfig.comment}', dataIndex: '${fieldConfig.fieldName}', slotName: ${fieldConfig.fieldName} },
</#if>
</#list>
</#if>
Expand Down

0 comments on commit dc92731

Please sign in to comment.