diff --git a/continew-admin-generator/src/main/resources/templates/frontend/index.ftl b/continew-admin-generator/src/main/resources/templates/frontend/index.ftl index f02bc4ed..e42fd3c7 100644 --- a/continew-admin-generator/src/main/resources/templates/frontend/index.ftl +++ b/continew-admin-generator/src/main/resources/templates/frontend/index.ftl @@ -28,7 +28,7 @@ 新增 - + @@ -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} },