mirror of
				https://github.com/continew-org/continew-admin.git
				synced 2025-10-31 22:57:17 +08:00 
			
		
		
		
	chore: 优化代码生成模板
This commit is contained in:
		| @@ -28,7 +28,7 @@ | |||||||
|             <span>新增</span> |             <span>新增</span> | ||||||
|           </a-button> |           </a-button> | ||||||
|           <a-tooltip content="导出"> |           <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> |               <template #icon> | ||||||
|                 <icon-download /> |                 <icon-download /> | ||||||
|               </template> |               </template> | ||||||
| @@ -74,7 +74,7 @@ const columns: TableInstanceColumns[] = [ | |||||||
| <#if fieldConfigs??> | <#if fieldConfigs??> | ||||||
|   <#list fieldConfigs as fieldConfig> |   <#list fieldConfigs as fieldConfig> | ||||||
|   <#if fieldConfig.showInList> |   <#if fieldConfig.showInList> | ||||||
|   { title: '${fieldConfig.comment}', dataIndex: '${fieldConfig.fieldName}' }, |   { title: '${fieldConfig.comment}', dataIndex: '${fieldConfig.fieldName}', slotName: ${fieldConfig.fieldName} }, | ||||||
|   </#if> |   </#if> | ||||||
|   </#list> |   </#list> | ||||||
| </#if> | </#if> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user