diff --git a/src/pages/System/Tools/Category.tsx b/src/pages/System/Tools/Category.tsx index f38b051..c17bf62 100644 --- a/src/pages/System/Tools/Category.tsx +++ b/src/pages/System/Tools/Category.tsx @@ -39,11 +39,6 @@ const Category = () => { } const categoryColumns: _ColumnsType = [ - { - title: 'ID', - dataIndex: 'id', - width: '15%' - }, { title: '名称', dataIndex: 'name' diff --git a/src/pages/System/Tools/Template.tsx b/src/pages/System/Tools/Template.tsx index 28f4c78..5586c15 100644 --- a/src/pages/System/Tools/Template.tsx +++ b/src/pages/System/Tools/Template.tsx @@ -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 ? 启用 : 禁用