Commit 7ba4ed35 authored by mercury233's avatar mercury233

Revert "disable changing username"

This reverts commit dab013ec.
parent 00f1c4a5
......@@ -75,10 +75,10 @@ class EmailForm extends React.Component {
<Form onSubmit={this.onSubmit}>
<FormItem {...usernameProps.fromItem}>
{getFieldDecorator('username', { ...usernameProps.decorator })(
<Input {...usernameProps.input} disabled />,
<Input {...usernameProps.input} />,
)}
{
<div class="alert alert-warning" role="alert"><strong>目前修改用户名功能暂时关闭。</strong>修改用户名后战绩会清零、也会失去绑定的云卡组。建议提前备份卡组。</div>
<div class="alert alert-warning" role="alert">修改用户名后战绩会清零、也会失去绑定的云卡组。建议提前备份卡组。</div>
}
</FormItem>
......@@ -90,7 +90,7 @@ class EmailForm extends React.Component {
</FormItem>
<FormItem>
<SubmitButton disabled />
<SubmitButton />
</FormItem>
</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