Commit 9b5edfee authored by Tang Xinwei's avatar Tang Xinwei

disable name change

fixed button
parent b5097b76
Pipeline #17139 failed with stages
in 49 seconds
...@@ -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} />, <Input {...usernameProps.input} disabled//>,
)} )}
{ {
<div class="alert alert-warning" role="alert">改名已关闭。每年1月、4月、7月和10月的第一周开启改名。</div> <div class="alert alert-warning" role="alert">改名已关闭。每年1月、4月、7月和10月的第一周开启改名。</div>
...@@ -85,12 +85,12 @@ class EmailForm extends React.Component { ...@@ -85,12 +85,12 @@ class EmailForm extends React.Component {
<FormItem {...passwordProps.fromItem}> <FormItem {...passwordProps.fromItem}>
{getFieldDecorator('password', { ...passwordProps.decorator })( {getFieldDecorator('password', { ...passwordProps.decorator })(
<Input {...passwordProps.input} disabled/>, <Input {...passwordProps.input} />,
)} )}
</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