NormalLoginForm
在官方网站https://ant.design/components/form/的示例组件中,对于用户名项,
<FormItem>
{getFieldDecorator('userName', {
rules: [{ required: true, message: 'Please input your username!' }],
})(
<Input addonBefore={<Icon type="user" />} placeholder="Username" />
)}
</FormItem>
如果服务器返回错误密码导致的错误,如何显示和更改Please input your username!
消息Wrong username or password
?