Commit d7bd6bdf authored by leon's avatar leon

fix: report list refresh

parent c9d39d6d
<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()
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment