refactor: 优化时间格式显示

- 在多个组件中,将时间格式从 'yyyy-MM-dd' 修改为 'yyyy-MM-dd HH:mm:ss'
- 这样可以提供更详细的时间信息,包括时分秒
This commit is contained in:
2025-08-12 15:53:17 +08:00
parent 5c203d7f30
commit 332982f31f
16 changed files with 16 additions and 16 deletions

View File

@@ -84,7 +84,7 @@ const columns = ref<ColumnItem[]>([
title: '创建时间',
dataIndex: 'createTime',
align: 'center',
customRender: ({text}) => toDateString(text, 'yyyy-MM-dd'),
customRender: ({text}) => toDateString(text, 'yyyy-MM-dd HH:mm:ss'),
width: 180,
},
{

View File

@@ -262,7 +262,7 @@ const columns = ref<ColumnItem[]>([
align: 'center',
showSorterTooltip: false,
ellipsis: true,
customRender: ({text}) => toDateString(text, 'yyyy-MM-dd')
customRender: ({text}) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
},
{
title: '操作',

View File

@@ -400,7 +400,7 @@ const columns = ref<ColumnItem[]>([
sorter: true,
showSorterTooltip: false,
ellipsis: true,
customRender: ({text}) => toDateString(text, 'yyyy-MM-dd')
customRender: ({text}) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
},
{
title: '操作',