From 565df9891dea0b394723b8dbe4199fbdb6026b6a Mon Sep 17 00:00:00 2001 From: unknown <18119604035@163.com> Date: Thu, 3 Aug 2023 09:44:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=B9=E7=AA=97=E7=BB=84=E4=BB=B6open?= =?UTF-8?q?=E5=A4=96=E7=BD=AE=E5=B9=B6=E4=BD=BF=E7=94=A8=E4=B8=89=E5=85=83?= =?UTF-8?q?=E8=BF=90=E7=AE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/compenents/change-password/index.tsx | 114 ++++++++++++----------- src/compenents/user-info/index.tsx | 104 +++++++++++---------- 2 files changed, 111 insertions(+), 107 deletions(-) diff --git a/src/compenents/change-password/index.tsx b/src/compenents/change-password/index.tsx index 10764eb..de930ae 100644 --- a/src/compenents/change-password/index.tsx +++ b/src/compenents/change-password/index.tsx @@ -40,63 +40,65 @@ export const ChangePasswordModel: React.FC = ({ return ( <> - form.submit()} - onCancel={() => onCancel()} - maskClosable={false} - > -
-
- form.submit()} + onCancel={() => onCancel()} + maskClosable={false} + > +
+ - - - - - - - - - -
- + + + + + + + + + + +
+
+ ) : null} ); }; diff --git a/src/compenents/user-info/index.tsx b/src/compenents/user-info/index.tsx index f2ba4e5..04bc25c 100644 --- a/src/compenents/user-info/index.tsx +++ b/src/compenents/user-info/index.tsx @@ -75,60 +75,62 @@ export const UserInfoModel: React.FC = ({ open, onCancel }) => { return ( <> - onCancel()} - maskClosable={false} - footer={null} - > -
-
- onCancel()} + maskClosable={false} + footer={null} + > +
+ -
- {avatar && ( - - )} -
- - - + +
+ {avatar && ( + + )} +
+ + + +
-
- - {name && ( - -
{name}
- )} - {idCard && ( - -
{idCard}
-
- )} - -
- + {name && ( + +
{name}
+
+ )} + {idCard && ( + +
{idCard}
+
+ )} + +
+ + ) : null} ); };