Toggle navigation
Toggle navigation
This project
Loading...
Sign in
mobile
/
YH_RNComponent
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
yoho-js001
2017-02-22 15:42:52 +0800
Commit
b2fd57d0eeb9f4be3ce10220a0f6107440a6a4e7
1 parent
bb477b08
notlike->notLike. reviewed by 凯总.
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
js/home/containers/HomeContainer.js
js/home/services/HomeService.js
js/home/containers/HomeContainer.js
View file @
b2fd57d
...
...
@@ -111,7 +111,6 @@ class HomeContainer extends Component {
onPressDislike
(
product
,
similarIndex
)
{
this
.
props
.
actions
.
setSimilarIndex
(
-
1
);
let
product_skn
=
product
&&
product
.
get
(
'product_skn'
,
0
);
console
.
log
(
product_skn
);
if
(
!
product_skn
)
{
return
;
}
...
...
js/home/services/HomeService.js
View file @
b2fd57d
...
...
@@ -83,20 +83,21 @@ export default class HomeService {
default
:
break
;
}
return
await
this
.
api
.
get
({
url
:
''
,
body
:
{
method
:
'app.product.not
l
ike'
,
method
:
'app.product.not
L
ike'
,
yh_channel
:
channel
,
gender
,
rec_pos
,
product_skn
,
}
})
.
then
((
json
)
=>
{
console
.
log
(
json
);
return
json
;
})
.
catch
((
error
)
=>
{
console
.
log
(
error
);
throw
(
error
);
});
}
...
...
Please
register
or
login
to post a comment