diff --git a/eiam-console/src/main/console-fe/src/pages/user/Login/Login.tsx b/eiam-console/src/main/console-fe/src/pages/user/Login/Login.tsx index 7893b91a..bf1380f8 100644 --- a/eiam-console/src/main/console-fe/src/pages/user/Login/Login.tsx +++ b/eiam-console/src/main/console-fe/src/pages/user/Login/Login.tsx @@ -151,8 +151,8 @@ const Login: React.FC = () => { - {showBanner && }
+ {showBanner && }
{ }, }} onFinish={async (values) => { - await run(values); + run(values); return data; }} > diff --git a/eiam-console/src/main/console-fe/src/pages/user/Login/style.ts b/eiam-console/src/main/console-fe/src/pages/user/Login/style.ts index fa61fd72..1da102b6 100644 --- a/eiam-console/src/main/console-fe/src/pages/user/Login/style.ts +++ b/eiam-console/src/main/console-fe/src/pages/user/Login/style.ts @@ -23,7 +23,6 @@ const useStyle = createStyles(({ token, prefixCls }, prefix) => { return { main: { [`${prefixClassName}`]: { - padding: '24px', [`${prefixClassName}-form-prefix-icon`]: { color: token.colorPrimary, fontSize: token.fontSize, @@ -46,12 +45,18 @@ const useStyle = createStyles(({ token, prefixCls }, prefix) => { }, [`${antCls}-pro-form-login-page-desc`]: { marginTop: '25px', - marginBottom: '25px', + marginBottom: '40px', color: 'rgba(0, 0, 0, 0.45)', fontSize: '14px', }, [`${antCls}-pro-form-login-page-container`]: { height: 'auto', + [`${antCls}-pro-form-login-page-top`]: { + marginTop: '25px', + }, + }, + [`${antCls}-pro-form-login-page-main`]: { + marginBottom: '80px', }, }, },