Исправлена загрузка на странице входа

This commit is contained in:
avsirotkin 2022-04-05 10:56:30 +05:00
parent 8107a4a3a5
commit b94561aa62

View File

@ -32,9 +32,10 @@ export const Login = memo(() => {
), [history, location]) ), [history, location])
return ( return (
<LoaderPortal show={showLoader} className={'loader-container login_page shadow'}> <div className={'login_page shadow'}>
<div style={{ display: 'flex', flexDirection: 'column' }}> <div style={{ display: 'flex', flexDirection: 'column' }}>
<Logo style={{ marginBottom: '10px' }}/> <Logo style={{ marginBottom: '10px' }}/>
<LoaderPortal show={showLoader}>
<Card title={'Система мониторинга'} className={'shadow'} bordered={true} style={{ width: 350 }}> <Card title={'Система мониторинга'} className={'shadow'} bordered={true} style={{ width: 350 }}>
<Form onFinish={handleLogin}> <Form onFinish={handleLogin}>
<Form.Item name={'login'} rules={loginRules}> <Form.Item name={'login'} rules={loginRules}>
@ -53,8 +54,9 @@ export const Login = memo(() => {
</div> </div>
</Form> </Form>
</Card> </Card>
</div>
</LoaderPortal> </LoaderPortal>
</div>
</div>
) )
}) })