Revert "fix delete user"

This reverts commit 07fe5a02
This commit is contained in:
CaIon
2023-12-27 15:31:28 +08:00
parent 45ed973f1c
commit 7cd1261a81
2 changed files with 24 additions and 25 deletions

View File

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