Commit 2009ccbf authored by Tang Xinwei's avatar Tang Xinwei Committed by GitHub

Enable button for change account name

Line 78 and 93
parent 824ae247
...@@ -75,7 +75,7 @@ class EmailForm extends React.Component { ...@@ -75,7 +75,7 @@ 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} disabled />, <Input {...usernameProps.input} />,
)} )}
{ {
<div class="alert alert-warning" role="alert">修改用户名后战绩会清零、也会失去绑定的云卡组。建议提前备份卡组。改名在772359关闭。</div> <div class="alert alert-warning" role="alert">修改用户名后战绩会清零、也会失去绑定的云卡组。建议提前备份卡组。改名在772359关闭。</div>
...@@ -90,7 +90,7 @@ class EmailForm extends React.Component { ...@@ -90,7 +90,7 @@ class EmailForm extends React.Component {
</FormItem> </FormItem>
<FormItem> <FormItem>
<SubmitButton disabled /> <SubmitButton />
</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