Skip to content

Commit

Permalink
fix: #81
Browse files Browse the repository at this point in the history
  • Loading branch information
d3george committed Aug 6, 2024
1 parent 6c04aea commit b2ad5f5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/pages/sys/login/LoginForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,19 +86,21 @@ function LoginForm() {
<Input.Password type="password" placeholder={t('sys.login.password')} />
</Form.Item>
<Form.Item>
<Row>
<Row align="middle">
<Col span={12}>
<Form.Item name="remember" valuePropName="checked" noStyle>
<Checkbox>{t('sys.login.rememberMe')}</Checkbox>
</Form.Item>
</Col>
<Col span={12} className="text-right">
<button
<Button
type="link"
className="!underline"
onClick={() => setLoginState(LoginStateEnum.RESET_PASSWORD)}
size="small"
>
{t('sys.login.forgetPassword')}
</button>
</Button>
</Col>
</Row>
</Form.Item>
Expand Down

0 comments on commit b2ad5f5

Please sign in to comment.