Commit 30a05194 authored by Sixiang_Zzb's avatar Sixiang_Zzb

用户模块bug修复

parent ff46bff4
......@@ -119,7 +119,7 @@ const UsersDetail = (props: any) => {
// 监听数据返回
useEffect(() => {
if (DataSaveDetail != null) {
if (DataSaveDetail !== null) {
setDataSaveLoading(false);
}
}, [DataSaveDetail]);
......@@ -239,7 +239,7 @@ const UsersDetail = (props: any) => {
<Spin spinning={visible} tip="Loading Submit">
{memberDetail === false ? (
<>
{DataSave != null ? (
{DataSave !== null ? (
<>
<TitleBack
sublist={[
......@@ -293,7 +293,7 @@ const UsersDetail = (props: any) => {
<Spin spinning={DataSaveLoading} tip="Loading Detial">
{DataSaveDetail ? (
<>
{DataSaveDetail.rows[0].owner.deleted !== 1 ? (
{DataSaveDetail.rows[0]?.owner.deleted !== 1 ? (
<>
<TableShow
data={DataSaveDetail}
......@@ -303,7 +303,7 @@ const UsersDetail = (props: any) => {
/>
</>
) : null}
{editFlag && DataSaveDetail.rows[0].owner.deleted !== 1 ? (
{editFlag && DataSaveDetail.rows[0]?.owner.deleted !== 1 ? (
<>
<Line />
<Form.Item style={{ textAlign: 'left' }}>
......
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