Explorar o código

fix: 不居中

sun-chaochao %!s(int64=3) %!d(string=hai) anos
pai
achega
c984a2a7ab
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  1. 0 4
      src/pages/system/Role/Detail/UserManage/index.tsx

+ 0 - 4
src/pages/system/Role/Detail/UserManage/index.tsx

@@ -33,7 +33,6 @@ const UserManage = () => {
       title: '姓名',
       title: '姓名',
       dataIndex: 'name',
       dataIndex: 'name',
       ellipsis: true,
       ellipsis: true,
-      align: 'center',
     },
     },
     {
     {
       title: intl.formatMessage({
       title: intl.formatMessage({
@@ -49,14 +48,12 @@ const UserManage = () => {
       dataIndex: 'createTime',
       dataIndex: 'createTime',
       ellipsis: true,
       ellipsis: true,
       width: '200px',
       width: '200px',
-      align: 'center',
       render: (text: any) => moment(text).format('YYYY-MM-DD HH:mm:ss'),
       render: (text: any) => moment(text).format('YYYY-MM-DD HH:mm:ss'),
     },
     },
     {
     {
       title: '状态',
       title: '状态',
       dataIndex: 'status',
       dataIndex: 'status',
       ellipsis: true,
       ellipsis: true,
-      align: 'center',
       render: (text, record) => (
       render: (text, record) => (
         <Badge
         <Badge
           status={record?.status === 1 ? 'success' : 'error'}
           status={record?.status === 1 ? 'success' : 'error'}
@@ -70,7 +67,6 @@ const UserManage = () => {
         defaultMessage: '操作',
         defaultMessage: '操作',
       }),
       }),
       valueType: 'option',
       valueType: 'option',
-      align: 'center',
       width: 200,
       width: 200,
       render: (text, record) => [
       render: (text, record) => [
         <a key="delete">
         <a key="delete">