fix delete user

This commit is contained in:
CaIon
2023-12-27 14:36:19 +08:00
parent 7a4969c238
commit 07fe5a02af
2 changed files with 3 additions and 3 deletions

View File

@@ -72,13 +72,13 @@ const UsersTable = () => {
}, {
title: '状态', dataIndex: 'status', render: (text, record, index) => {
return (<div>
{record.deleted_at !== null? <Tag color='red'>已注销</Tag> : renderStatus(text)}
{record.DeletedAt !== null? <Tag color='red'>已注销</Tag> : renderStatus(text)}
</div>);
},
}, {
title: '', dataIndex: 'operate', render: (text, record, index) => (<div>
{
record.deleted_at !== null ? <></>:
record.DeletedAt !== null ? <></>:
<>
<Popconfirm
title="确定?"