瀏覽代碼

修复用户管理显示问题

CaIon 2 年之前
父節點
當前提交
7a8344c40a
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      web/src/components/UsersTable.js

+ 2 - 2
web/src/components/UsersTable.js

@@ -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="确定?"