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
f5161cb7
Commit
f5161cb7
authored
Jun 11, 2019
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
验证码登录
parent
2cc7ff86
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
src/components/passport/index.js
+4
-4
src/components/passport/login/index.js
+0
-0
src/components/passport/login/wechatLogin.scss
+0
-0
No files found.
src/components/passport/index.js
View file @
f5161cb7
...
...
@@ -3,7 +3,7 @@ import { Route, Switch, Redirect } from 'react-router-dom'
import
'./passport.scss'
import
{
WithFullSize
}
from
'@/HOCs'
import
WechatLogin
from
'./wechatL
ogin'
import
Login
from
'./l
ogin'
import
AccountLogin
from
'./accountLogin'
import
ForgotPassword
from
'./forgotPassword'
import
SetPassword
from
'./setPassword'
...
...
@@ -50,10 +50,10 @@ class Passport extends Component {
<
Switch
>
<
Redirect
exact
from
=
{
'/passport'
}
to
=
{{...
location
,
...{
pathname
:
'/passport/
wechat-
login'
}}}
to
=
{{...
location
,
...{
pathname
:
'/passport/login'
}}}
/
>
<
Route
path
=
{
match
.
url
+
'/
wechat-
login'
}
render
=
{
props
=>
<
Wechat
Login
{...
props
}
loginWays
=
{
this
.
state
.
loginWays
}
/>}/
>
<
Route
path
=
{
match
.
url
+
'/login'
}
render
=
{
props
=>
<
Login
{...
props
}
loginWays
=
{
this
.
state
.
loginWays
}
/>}/
>
<
Route
path
=
{
match
.
url
+
'/account-login'
}
component
=
{
AccountLogin
}
/
>
<
Route
path
=
{
match
.
url
+
'/forgot-password'
}
component
=
{
ForgotPassword
}
/
>
<
Route
path
=
{
match
.
url
+
'/set-password'
}
component
=
{
SetPassword
}
/
>
...
...
src/components/passport/
wechatL
ogin/index.js
→
src/components/passport/
l
ogin/index.js
View file @
f5161cb7
File moved
src/components/passport/
wechatL
ogin/wechatLogin.scss
→
src/components/passport/
l
ogin/wechatLogin.scss
View file @
f5161cb7
File moved
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