Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
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
Plain Diff
Browse Files
Authored by
陈峰
2017-03-17 18:35:05 +0800
Commit
ff1d1eabda01381589d68b95fe4cab515ee9964b
2 parents
7acd98e7
579c6eb0
Merge remote-tracking branch 'origin/hotfix/fixundefinedbug' into hotfix/bugs
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
apps/activity/models/feature.js
apps/activity/models/individuation.js
apps/activity/models/feature.js
View file @
ff1d1ea
...
...
@@ -55,7 +55,9 @@ module.exports = {
cache
:
true
});
}
if
(
!
data
)
{
return
;
}
data
=
data
.
data
;
if
(
data
&&
data
.
floors
)
{
data
.
floors
.
forEach
(
function
(
f
)
{
...
...
apps/activity/models/individuation.js
View file @
ff1d1ea
...
...
@@ -31,7 +31,7 @@ module.exports = {
cache
:
true
}).
then
(
res
=>
{
var
data
=
[],
lst
=
(
res
.
data
&&
res
.
data
.
product_list
)
||
[];
lst
=
(
res
&&
res
.
data
&&
res
.
data
.
product_list
)
||
[];
lst
.
forEach
(
function
(
o
)
{
o
&&
data
.
push
(
_getProduct
(
o
));
...
...
Please
register
or
login
to post a comment