Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Moecube Accounts Web
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Moecube Accounts Web
Commits
f680688e
Commit
f680688e
authored
Apr 09, 2021
by
Tang Xinwei
Committed by
GitHub
Apr 09, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disable change user name (Until July)
改用户名的功能限时开放的时间过了,所以revert了回关闭用户名的时候
parent
7ba4ed35
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
src/components/UserNameForm.js
src/components/UserNameForm.js
+3
-4
No files found.
src/components/UserNameForm.js
View file @
f680688e
...
@@ -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
>
目前修改用户名功能暂时关闭,将在
7
月初开。
<
/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
>
);
);
...
@@ -115,4 +115,3 @@ function mapStateToProps(state) {
...
@@ -115,4 +115,3 @@ function mapStateToProps(state) {
const
WrapperEmailForm
=
Form
.
create
()(
EmailForm
);
const
WrapperEmailForm
=
Form
.
create
()(
EmailForm
);
export
default
connect
(
mapStateToProps
)(
WrapperEmailForm
);
export
default
connect
(
mapStateToProps
)(
WrapperEmailForm
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment