Commit 927dff90 authored by Sixiang_Zzb's avatar Sixiang_Zzb

用户管理模块详情页bug处理

parent 61c5de68
...@@ -45,7 +45,7 @@ const TableShow = (props: any) => { ...@@ -45,7 +45,7 @@ const TableShow = (props: any) => {
null, null,
(text: any, record: any) => ( (text: any, record: any) => (
<Space size="middle"> <Space size="middle">
{record.owner_relationship != null ? user_status[record.owner_relationship - 1][1] : null} {record.owner_relationship != null ? user_status[record.owner_relationship][1] : null}
</Space> </Space>
), ),
], ],
......
...@@ -361,7 +361,7 @@ const UsersDetail = (props: any) => { ...@@ -361,7 +361,7 @@ const UsersDetail = (props: any) => {
<Col span={4}>User Type:</Col> <Col span={4}>User Type:</Col>
<Col span={4}> <Col span={4}>
{memberData.owner_relationship != null {memberData.owner_relationship != null
? user_status[memberData.owner_relationship - 1][1] ? user_status[memberData.owner_relationship][1]
: null} : null}
</Col> </Col>
</Row> </Row>
......
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 to comment