fix: Fix the user list cannot be displayed completely

Signed-off-by: killer <1533063601@qq.com>
This commit is contained in:
killer 2021-07-17 14:29:33 +08:00 committed by Yang Luo
parent 705d2ede6b
commit 59602a1325

View File

@ -146,7 +146,7 @@ class UserListPage extends React.Component {
title: i18next.t("general:Display name"), title: i18next.t("general:Display name"),
dataIndex: 'displayName', dataIndex: 'displayName',
key: 'displayName', key: 'displayName',
// width: '100px', width: '100px',
sorter: (a, b) => a.displayName.localeCompare(b.displayName), sorter: (a, b) => a.displayName.localeCompare(b.displayName),
}, },
{ {
@ -245,6 +245,7 @@ class UserListPage extends React.Component {
dataIndex: '', dataIndex: '',
key: 'op', key: 'op',
width: '190px', width: '190px',
fixed: 'right',
render: (text, record, index) => { render: (text, record, index) => {
return ( return (
<div> <div>
@ -263,7 +264,7 @@ class UserListPage extends React.Component {
return ( return (
<div> <div>
<Table columns={columns} dataSource={users} rowKey="name" size="middle" bordered pagination={{pageSize: 100}} <Table columns={columns} scroll={{x: 1300}} dataSource={users} rowKey="name" size="middle" bordered pagination={{pageSize: 100}}
title={() => ( title={() => (
<div> <div>
{i18next.t("general:Users")}&nbsp;&nbsp;&nbsp;&nbsp; {i18next.t("general:Users")}&nbsp;&nbsp;&nbsp;&nbsp;