Commit dab013ec authored by mercury233's avatar mercury233

disable changing username

parent 67d46228
...@@ -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">修改用户名后战绩会清零、也会失去绑定的云卡组。建议提前备份卡组。</div> <div class="alert alert-warning" role="alert"><strong>目前修改用户名功能暂时关闭。</strong>修改用户名后战绩会清零、也会失去绑定的云卡组。建议提前备份卡组。</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