Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_wechat
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
pseer
gxpt_wechat
Commits
e0c4b5db
Commit
e0c4b5db
authored
Feb 04, 2024
by
zhangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
细节优化
parent
8cc97f20
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
index.vue
pages/couponList/index.vue
+5
-1
No files found.
pages/couponList/index.vue
View file @
e0c4b5db
...
@@ -121,9 +121,13 @@
...
@@ -121,9 +121,13 @@
methods
:
{
methods
:
{
onLoading
(){
onLoading
(){
getCouponList
(
this
.
queryParams
).
then
(
res
=>
{
getCouponList
(
this
.
queryParams
).
then
(
res
=>
{
console
.
log
(
res
,
909090909
)
if
(
res
.
data
.
code
===
200
){
if
(
res
.
data
.
code
===
200
){
if
(
this
.
queryParams
.
pageNum
==
1
){
this
.
list
=
res
.
data
.
rows
this
.
list
=
res
.
data
.
rows
}
else
{
this
.
list
=
[...
this
.
list
,...
res
.
data
.
rows
]
}
this
.
total
=
res
.
data
.
total
this
.
total
=
res
.
data
.
total
if
(
this
.
list
.
length
<
this
.
total
)
{
if
(
this
.
list
.
length
<
this
.
total
)
{
this
.
status
=
'loadmore'
;
this
.
status
=
'loadmore'
;
...
...
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