diff --git a/orion-visor-framework/orion-visor-spring-boot-starter-mybatis/src/main/resources/templates/orion-vue-views-types-card.fields.ts.vm b/orion-visor-framework/orion-visor-spring-boot-starter-mybatis/src/main/resources/templates/orion-vue-views-types-card.fields.ts.vm index 38ac51c9..f8d9584f 100644 --- a/orion-visor-framework/orion-visor-spring-boot-starter-mybatis/src/main/resources/templates/orion-vue-views-types-card.fields.ts.vm +++ b/orion-visor-framework/orion-visor-spring-boot-starter-mybatis/src/main/resources/templates/orion-vue-views-types-card.fields.ts.vm @@ -30,6 +30,7 @@ const fieldConfig = { render: ({ record }) => { return dateFormat(new Date(record.createTime)); }, + default: true, }, { label: '修改时间', dataIndex: 'updateTime', @@ -41,6 +42,7 @@ const fieldConfig = { label: '创建人', dataIndex: 'creator', slotName: 'creator', + default: true, }, { label: '修改人', dataIndex: 'updater', diff --git a/orion-visor-framework/orion-visor-spring-boot-starter-mybatis/src/main/resources/templates/orion-vue-views-types-table.columns.ts.vm b/orion-visor-framework/orion-visor-spring-boot-starter-mybatis/src/main/resources/templates/orion-vue-views-types-table.columns.ts.vm index d9af843a..a33cfb03 100644 --- a/orion-visor-framework/orion-visor-spring-boot-starter-mybatis/src/main/resources/templates/orion-vue-views-types-table.columns.ts.vm +++ b/orion-visor-framework/orion-visor-spring-boot-starter-mybatis/src/main/resources/templates/orion-vue-views-types-table.columns.ts.vm @@ -35,6 +35,7 @@ const columns = [ render: ({ record }) => { return dateFormat(new Date(record.createTime)); }, + default: true, }, { title: '修改时间', dataIndex: 'updateTime', @@ -48,6 +49,7 @@ const columns = [ title: '创建人', dataIndex: 'creator', slotName: 'creator', + default: true, }, { title: '修改人', dataIndex: 'updater', @@ -58,6 +60,7 @@ const columns = [ width: 130, align: 'center', fixed: 'right', + default: true, }, ] as TableColumnData[];