Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
E
ec-report-refactor
Project
Project
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
lihuizhen
ec-report-refactor
Commits
d7bd6bdf
Commit
d7bd6bdf
authored
Mar 04, 2022
by
leon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: report list refresh
parent
c9d39d6d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
reports.vue
pages/reports/reports.vue
+3
-1
No files found.
pages/reports/reports.vue
View file @
d7bd6bdf
<
template
>
<view>
<u-waterfall
v-model=
"reportList"
>
<u-waterfall
v-model=
"reportList"
v-if=
"reportList.length > 0"
>
<template
v-slot:left=
"
{leftList}">
<view
class=
"water-list"
v-for=
"(item, index) in leftList"
:key=
"index"
@
click=
"onClick(item)"
>
<u-lazy-load
class=
"water-image"
img-mode=
"aspectFit"
threshold=
"-450"
height=
"150"
border-radius=
"10"
:image=
"item.coverImage ? item.coverImage : item.previewImg"
:index=
"index"
></u-lazy-load>
...
...
@@ -74,6 +74,8 @@
}
},
onPullDownRefresh
()
{
this
.
reportList
=
[]
this
.
params
.
pageNumber
=
1
this
.
getReportList
()
},
...
...
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