Optimize stylesheet

This commit is contained in:
2024-01-29 00:05:41 +08:00
parent 988f759901
commit 4dbae810bb
2 changed files with 3 additions and 8 deletions

View File

@@ -106,21 +106,21 @@ const Template = () => {
{
title: '创建时间',
dataIndex: 'createTime',
width: '0',
width: '7em',
align: 'center',
render: (value: string) => utcToLocalTime(value)
},
{
title: '修改时间',
dataIndex: 'updateTime',
width: '0',
width: '7em',
align: 'center',
render: (value: string) => utcToLocalTime(value)
},
{
title: '状态',
dataIndex: 'enable',
width: '0',
width: '5em',
align: 'center',
render: (value) =>
value ? <AntdTag color={'success'}></AntdTag> : <AntdTag></AntdTag>