forked from ddrilling/asb_cloud_front
Исправлена загрузка на странице входа
This commit is contained in:
parent
8107a4a3a5
commit
b94561aa62
@ -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>
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user