|
|
@@ -226,7 +226,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <nomore v-if="page <= totlo"></nomore>
|
|
|
+ <nomore v-if="page >= totlo"></nomore>
|
|
|
</scroll-view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -447,6 +447,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <nomore v-if="page >= totlo"></nomore>
|
|
|
</scroll-view>
|
|
|
<empty :isShow="false" v-if="datasList.length == 0" />
|
|
|
</view>
|
|
|
@@ -1350,6 +1351,7 @@ export default {
|
|
|
} else {
|
|
|
this.datasList = [...this.datasList, ...list]
|
|
|
}
|
|
|
+ this.totlo = res.data.pages
|
|
|
} else {
|
|
|
// 5. 异常情况:仅第一页清空列表,避免翻页时丢失数据
|
|
|
if (this.page === 1) {
|