🔨 修改代码生成器模板.

This commit is contained in:
lijiahangmax
2025-08-13 00:00:45 +08:00
parent c53042a4b5
commit 8501e900c7
2 changed files with 5 additions and 0 deletions

View File

@@ -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',

View File

@@ -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[];