Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mr-julyedu
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
baiguangyao
mr-julyedu
Commits
740c97d8
Commit
740c97d8
authored
Jun 10, 2019
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
账号登录页面
parent
f8ccd957
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
src/components/passport/accountLogin/index.js
+0
-1
src/components/passport/index.js
+2
-3
No files found.
src/components/passport/accountLogin/index.js
View file @
740c97d8
...
@@ -21,7 +21,6 @@ class AccountLogin extends PureComponent {
...
@@ -21,7 +21,6 @@ class AccountLogin extends PureComponent {
render
()
{
render
()
{
const
loginWays
=
this
.
props
.
loginWays
.
filter
(
item
=>
item
.
text
!==
'账号登录'
)
return
(
return
(
<
div
className
=
{
'account-login'
}
>
<
div
className
=
{
'account-login'
}
>
<
Header
/>
<
Header
/>
...
...
src/components/passport/index.js
View file @
740c97d8
...
@@ -17,6 +17,7 @@ import wechat from './wechat.png'
...
@@ -17,6 +17,7 @@ import wechat from './wechat.png'
class
Passport
extends
Component
{
class
Passport
extends
Component
{
constructor
(
props
)
{
constructor
(
props
)
{
super
(
props
);
super
(
props
);
this
.
state
=
{
this
.
state
=
{
...
@@ -53,9 +54,7 @@ class Passport extends Component {
...
@@ -53,9 +54,7 @@ class Passport extends Component {
/
>
/
>
<
Route
path
=
{
match
.
url
+
'/wechat-login'
}
<
Route
path
=
{
match
.
url
+
'/wechat-login'
}
render
=
{
props
=>
<
WechatLogin
{...
props
}
loginWays
=
{
this
.
state
.
loginWays
}
/>}/
>
render
=
{
props
=>
<
WechatLogin
{...
props
}
loginWays
=
{
this
.
state
.
loginWays
}
/>}/
>
<
Route
path
=
{
match
.
url
+
'/account-login'
}
render
=
{
props
=>
{
<
Route
path
=
{
match
.
url
+
'/account-login'
}
component
=
{
AccountLogin
}
/
>
return
<
AccountLogin
{...
props
}
loginWays
=
{
this
.
state
.
loginWays
}
/
>
}}
/
>
<
Route
path
=
{
match
.
url
+
'/forgot-password'
}
component
=
{
ForgotPassword
}
/
>
<
Route
path
=
{
match
.
url
+
'/forgot-password'
}
component
=
{
ForgotPassword
}
/
>
<
Route
path
=
{
match
.
url
+
'/set-password'
}
component
=
{
SetPassword
}
/
>
<
Route
path
=
{
match
.
url
+
'/set-password'
}
component
=
{
SetPassword
}
/
>
<
Route
path
=
{
match
.
url
+
'/binding-tel'
}
component
=
{
BindingTel
}
/
>
<
Route
path
=
{
match
.
url
+
'/binding-tel'
}
component
=
{
BindingTel
}
/
>
...
...
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