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
ed40ea49
Commit
ed40ea49
authored
Jun 15, 2019
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优惠券
parent
82d57e50
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
13 deletions
+9
-13
src/components/coupons/index.js
+8
-11
src/components/passport/accountLogin/index.js
+1
-1
src/components/passport/forgotPassword/index.js
+0
-1
No files found.
src/components/coupons/index.js
View file @
ed40ea49
...
...
@@ -28,19 +28,16 @@ class UseCoupon extends PureComponent {
location
.
state
&&
location
.
state
.
from
?
history
.
replace
(
location
.
state
.
from
)
:
history
.
goBack
()
}
const
{
state
}
=
this
.
props
.
location
if
(
state
&&
state
.
from
)
{
switch
(
state
.
from
)
{
case
'/my'
:
this
.
getMyCoupons
();
this
.
setState
({
showUseButton
:
true
})
break
;
default
:
this
.
getAllCoupons
();
if
(
state
.
from
===
'/my'
)
{
this
.
getMyCoupons
();
this
.
setState
({
showUseButton
:
true
})
}
else
{
this
.
getAllCoupons
();
}
}
else
{
this
.
getAllCoupons
()
}
}
...
...
src/components/passport/accountLogin/index.js
View file @
ed40ea49
...
...
@@ -29,7 +29,7 @@ class AccountLogin extends PureComponent {
render
=
{({
field
})
=>
(
<
Input
{...
field
}
type
=
{
'
number
'
}
type
=
{
'
text
'
}
placeholder
=
{
'手机/邮箱/昵称'
}
wrapperClass
=
{
'tel-input'
}
icon
=
{
...
...
src/components/passport/forgotPassword/index.js
View file @
ed40ea49
...
...
@@ -41,7 +41,6 @@ class ForgotPassword extends Component {
values
,
errors
}
=
this
.
props
console
.
log
(
this
.
props
)
return
(
<
div
className
=
{
'forgot-password'
}
>
<
HeaderBar
title
=
'忘记密码'
/>
...
...
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