Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ant-design-pro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
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
duanledexianxianxian
ant-design-pro
Commits
3357ffbb
Commit
3357ffbb
authored
Sep 11, 2017
by
afc163
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove alert closable
parent
7ae6bac9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
src/routes/User/Login.js
src/routes/User/Login.js
+11
-11
No files found.
src/routes/User/Login.js
View file @
3357ffbb
...
...
@@ -60,15 +60,15 @@ export default class Login extends Component {
);
}
msg
=
(
message
)
=>
{
return
(
<
Alert
key
=
{
new
Date
().
getTime
()}
renderMessage
=
(
message
)
=>
{
return
(
<
Alert
style
=
{{
marginBottom
:
16
}}
message
=
{
message
}
type
=
"
error
"
showIcon
closable
/>
);
/>
);
}
render
()
{
...
...
@@ -84,7 +84,7 @@ export default class Login extends Component {
login
.
status
===
'
error
'
&&
login
.
type
===
'
account
'
&&
login
.
submitting
===
false
&&
this
.
msg
(
'
账ζ·ζε―η ιθ――
'
)
this
.
renderMessage
(
'
账ζ·ζε―η ιθ――
'
)
}
<
FormItem
>
{
getFieldDecorator
(
'
userName
'
,
{
...
...
@@ -117,7 +117,7 @@ export default class Login extends Component {
login
.
status
===
'
error
'
&&
login
.
type
===
'
mobile
'
&&
login
.
submitting
===
false
&&
this
.
msg
(
'
ιͺθ―η ιθ――
'
)
this
.
renderMessage
(
'
ιͺθ―η ιθ――
'
)
}
<
FormItem
>
{
getFieldDecorator
(
'
mobile
'
,
{
...
...
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