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
陈林
2019-02-14 14:37:08 +0800
Commit
9ff0d993e4fb5d61951526ebf8267aa6e0b13452
1 parent
9b7edf4d
修改null 判断逻辑,防止空字符串的情况。review by 张文文。
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
js/groupPurchase/containers/GroupPurchaseContainer.js
js/groupPurchase/services/GroupPurchaseService.js
js/groupPurchase/containers/GroupPurchaseContainer.js
View file @
9ff0d99
...
...
@@ -125,7 +125,7 @@ class GroupPurchaseContainer extends Component {
}
let
miniProgramPath
;
if
(
activityId
==
null
)
{
if
(
!
activityId
)
{
miniProgramPath
=
'/pages/group/list?'
;
}
else
{
miniProgramPath
=
'/pages/group/list?activityId='
+
activityId
;
...
...
js/groupPurchase/services/GroupPurchaseService.js
View file @
9ff0d99
...
...
@@ -16,7 +16,7 @@ export default class groupPurchaseService {
async
fetchGroupProductList
(
activityId
,
page
=
1
,
limit
=
20
,
fromPage
,
listParams
)
{
let
bodyParam
;
if
(
activityId
==
null
)
{
if
(
!
activityId
)
{
bodyParam
=
{
method
:
'app.collage.productList.page'
,
...
listParams
,
...
...
Please
register
or
login
to post a comment