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} ); };