Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
ce2720b5
Commit
ce2720b5
authored
May 19, 2021
by
linlinjava
Browse files
fix[litemall-wx]: #473
parent
47e6e254
Changes
1
Hide whitespace changes
Inline
Side-by-side
litemall-wx/pages/comment/comment.js
View file @
ce2720b5
...
...
@@ -67,6 +67,13 @@ Page({
this
.
getCommentList
();
},
onPullDownRefresh
()
{
this
.
setData
({
allCommentList
:
[],
allPage
:
1
,
picCommentList
:
[],
picPage
:
1
,
comments
:
[]
});
wx
.
showNavigationBarLoading
()
//在标题栏中显示加载
this
.
getCommentCount
();
this
.
getCommentList
();
...
...
@@ -109,7 +116,6 @@ Page({
this
.
getCommentList
();
},
onReachBottom
:
function
()
{
console
.
log
(
'
onPullDownRefresh
'
);
if
(
this
.
data
.
showType
==
0
)
{
if
(
this
.
data
.
allCount
/
this
.
data
.
limit
<
this
.
data
.
allPage
)
{
...
...
Write
Preview
Supports
Markdown
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