mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-20 17:26:38 +08:00
修复用户管理显示问题
This commit is contained in:
parent
6ad2544415
commit
7a8344c40a
@ -72,13 +72,13 @@ const UsersTable = () => {
|
|||||||
}, {
|
}, {
|
||||||
title: '状态', dataIndex: 'status', render: (text, record, index) => {
|
title: '状态', dataIndex: 'status', render: (text, record, index) => {
|
||||||
return (<div>
|
return (<div>
|
||||||
{record.deleted_at !== null? <Tag color='red'>已注销</Tag> : renderStatus(text)}
|
{record.DeletedAt !== null? <Tag color='red'>已注销</Tag> : renderStatus(text)}
|
||||||
</div>);
|
</div>);
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
title: '', dataIndex: 'operate', render: (text, record, index) => (<div>
|
title: '', dataIndex: 'operate', render: (text, record, index) => (<div>
|
||||||
{
|
{
|
||||||
record.deleted_at !== null ? <></>:
|
record.DeletedAt !== null ? <></>:
|
||||||
<>
|
<>
|
||||||
<Popconfirm
|
<Popconfirm
|
||||||
title="确定?"
|
title="确定?"
|
||||||
|
Loading…
Reference in New Issue
Block a user