Complete main UI #37

Merged
FatttSnake merged 192 commits from FatttSnake into dev 2024-02-23 16:31:17 +08:00
2 changed files with 3 additions and 8 deletions
Showing only changes of commit 4dbae810bb - Show all commits

View File

@@ -39,11 +39,6 @@ const Category = () => {
}
const categoryColumns: _ColumnsType<ToolCategoryVo> = [
{
title: 'ID',
dataIndex: 'id',
width: '15%'
},
{
title: '名称',
dataIndex: 'name'

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>