Commit cf62571b authored by Tang Xinwei's avatar Tang Xinwei

disable name change

parent 82de5596
Pipeline #3997 passed with stages
in 2 minutes and 54 seconds
...@@ -75,10 +75,10 @@ class EmailForm extends React.Component { ...@@ -75,10 +75,10 @@ class EmailForm extends React.Component {
<Form onSubmit={this.onSubmit}> <Form onSubmit={this.onSubmit}>
<FormItem {...usernameProps.fromItem}> <FormItem {...usernameProps.fromItem}>
{getFieldDecorator('username', { ...usernameProps.decorator })( {getFieldDecorator('username', { ...usernameProps.decorator })(
<Input {...usernameProps.input}/>, <Input {...usernameProps.input}disabled/>,
)} )}
{ {
<div class="alert alert-warning" role="alert">修改用户名后战绩会清零、也会失去绑定的云卡组。建议提前备份卡组。改名在772359关闭</div> <div class="alert alert-warning" role="alert"> 改名功能关闭,每年13710月的第一周开放</div>
} }
</FormItem> </FormItem>
...@@ -90,7 +90,7 @@ class EmailForm extends React.Component { ...@@ -90,7 +90,7 @@ class EmailForm extends React.Component {
</FormItem> </FormItem>
<FormItem> <FormItem>
<SubmitButton/> <SubmitButton disabled/>
</FormItem> </FormItem>
</Form> </Form>
); );
......
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