Commit 55750940 by CaIon

修复用户管理显示问题

parent 9c7456b0
...@@ -72,13 +72,13 @@ const UsersTable = () => { ...@@ -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="确定?"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment