Unverified Commit fd2c0e93 authored by gaoyan's avatar gaoyan Committed by GitHub

Fixed user form display error (#2053)

parent c1349953
...@@ -52,7 +52,7 @@ const UserForm: React.FC<UserFormProps> = (props) => { ...@@ -52,7 +52,7 @@ const UserForm: React.FC<UserFormProps> = (props) => {
<ProFormText <ProFormText
name="nickname" name="nickname"
label={l("user.username")} label={l("user.nickname")}
placeholder={l("user.nicknamePlaceholder")} placeholder={l("user.nicknamePlaceholder")}
rules={[{ rules={[{
required: true, required: true,
...@@ -88,4 +88,4 @@ const UserForm: React.FC<UserFormProps> = (props) => { ...@@ -88,4 +88,4 @@ const UserForm: React.FC<UserFormProps> = (props) => {
} }
export default UserForm; export default UserForm;
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment