Optimize stylesheet
This commit is contained in:
@@ -39,11 +39,6 @@ const Category = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const categoryColumns: _ColumnsType<ToolCategoryVo> = [
|
const categoryColumns: _ColumnsType<ToolCategoryVo> = [
|
||||||
{
|
|
||||||
title: 'ID',
|
|
||||||
dataIndex: 'id',
|
|
||||||
width: '15%'
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
title: '名称',
|
title: '名称',
|
||||||
dataIndex: 'name'
|
dataIndex: 'name'
|
||||||
|
|||||||
@@ -106,21 +106,21 @@ const Template = () => {
|
|||||||
{
|
{
|
||||||
title: '创建时间',
|
title: '创建时间',
|
||||||
dataIndex: 'createTime',
|
dataIndex: 'createTime',
|
||||||
width: '0',
|
width: '7em',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
render: (value: string) => utcToLocalTime(value)
|
render: (value: string) => utcToLocalTime(value)
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '修改时间',
|
title: '修改时间',
|
||||||
dataIndex: 'updateTime',
|
dataIndex: 'updateTime',
|
||||||
width: '0',
|
width: '7em',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
render: (value: string) => utcToLocalTime(value)
|
render: (value: string) => utcToLocalTime(value)
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '状态',
|
title: '状态',
|
||||||
dataIndex: 'enable',
|
dataIndex: 'enable',
|
||||||
width: '0',
|
width: '5em',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
render: (value) =>
|
render: (value) =>
|
||||||
value ? <AntdTag color={'success'}>启用</AntdTag> : <AntdTag>禁用</AntdTag>
|
value ? <AntdTag color={'success'}>启用</AntdTag> : <AntdTag>禁用</AntdTag>
|
||||||
|
|||||||
Reference in New Issue
Block a user