chore: 优化代码生成模板
This commit is contained in:
parent
0a0353f1f6
commit
dc9273132d
@ -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>
|
||||
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user