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
f8ccd957
Commit
f8ccd957
authored
Jun 10, 2019
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
账号登录页面
parent
aff2d076
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
3 deletions
+1
-3
src/components/passport/accountLogin/index.js
+0
-2
src/components/passport/index.js
+1
-1
No files found.
src/components/passport/accountLogin/index.js
View file @
f8ccd957
...
@@ -12,7 +12,6 @@ import Input from '../common/Input'
...
@@ -12,7 +12,6 @@ import Input from '../common/Input'
import
LoginButton
from
'../common/LoginButton'
import
LoginButton
from
'../common/LoginButton'
import
PasswordInput
from
'../common/passwordInput'
import
PasswordInput
from
'../common/passwordInput'
// import VeriCodeButton from '../common/veriCodeInput'
// import VeriCodeButton from '../common/veriCodeInput'
import
LoginWays
from
'../common/LoginWays'
class
AccountLogin
extends
PureComponent
{
class
AccountLogin
extends
PureComponent
{
...
@@ -56,7 +55,6 @@ class AccountLogin extends PureComponent {
...
@@ -56,7 +55,6 @@ class AccountLogin extends PureComponent {
<
LoginButton
/>
<
LoginButton
/>
<
Link
className
=
{
'forgot-password-btn'
}
to
=
'/passport/forgot-password'
>
忘记密码
<
/Link
>
<
Link
className
=
{
'forgot-password-btn'
}
to
=
'/passport/forgot-password'
>
忘记密码
<
/Link
>
<
/Form
>
<
/Form
>
<
LoginWays
loginWays
=
{
loginWays
}
/
>
<
/div
>
<
/div
>
);
);
}
}
...
...
src/components/passport/index.js
View file @
f8ccd957
...
@@ -49,7 +49,7 @@ class Passport extends Component {
...
@@ -49,7 +49,7 @@ class Passport extends Component {
<
Switch
>
<
Switch
>
<
Redirect
exact
<
Redirect
exact
from
=
{
'/passport'
}
from
=
{
'/passport'
}
to
=
{{...
location
,
...{
pathname
:
'/passport/
accoun
t-login'
}}}
to
=
{{...
location
,
...{
pathname
:
'/passport/
wecha
t-login'
}}}
/
>
/
>
<
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
}
/>}/
>
...
...
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