mirror of
https://github.com/zuiidea/antd-admin.git
synced 2024-04-21 12:32:14 +00:00
fix login: form mis password
This commit is contained in:
@@ -57,12 +57,11 @@ class Login extends PureComponent {
|
||||
placeholder={t`Username`}
|
||||
/>
|
||||
</FormItem>
|
||||
<FormItem name="password"
|
||||
rules={[{ required: true }]} hasFeedback>
|
||||
<Trans id="Password" render={({translation}) => (
|
||||
<Input type='password' placeholder={translation} required />)}
|
||||
/>
|
||||
</FormItem>
|
||||
<Trans id="Password" render={({translation}) => (
|
||||
<FormItem name="password" rules={[{ required: true }]} hasFeedback>
|
||||
<Input type='password' placeholder={translation} required />
|
||||
</FormItem>)}
|
||||
/>
|
||||
<Row>
|
||||
<Button
|
||||
type="primary"
|
||||
|
||||
Reference in New Issue
Block a user