From 2d43a1df3f5ba42710e6d21c27d1e13bdb8dfd56 Mon Sep 17 00:00:00 2001
From: zhangwei <1504152376@qq.com>
Date: 星期一, 24 三月 2025 09:23:08 +0800
Subject: [PATCH] -
---
src/pages/income/income.vue | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/pages/income/income.vue b/src/pages/income/income.vue
index 619016b..cd8bd8a 100644
--- a/src/pages/income/income.vue
+++ b/src/pages/income/income.vue
@@ -3,7 +3,7 @@
<view class="" v-if="imcomeInfo&&imcomeInfo.length>0">
<view class="money_bag">
<up-cell :value="`${item.yiTiXianJine} 鍏僠" :title="item.zhiChuShouRuName" :label="item.remark"
- v-for="(item,index) in imcomeInfo"></up-cell>
+ v-for="(item,index) in imcomeInfo" :key='item.id'></up-cell>
</view>
<up-loadmore :status="loadStatus" />
</view>
@@ -42,6 +42,7 @@
this.pageSize = 20
this.loadStatus = 'loadmore'
this.PostMyTiXianDetailListPage();
+ uni.stopPullDownRefresh();
},
methods: {
PostMyTiXianDetailListPage() {
@@ -50,14 +51,12 @@
pageSize: this.pageSize
}
this.$api.PostMyTiXianDetailListPage(obj).then(res => {
- this.imcomeInfo = res.data.items
if (res.code == 1) {
if (this.pageIndex == 1) {
this.imcomeInfo = res.data.items
} else {
- this.imcomeInfo.concat(...res.data.items)
+ this.imcomeInfo = this.imcomeInfo.concat(...res.data.items)
}
- console.log(this.imcomeInfo, this.imcomeInfo.length, 'this.viewList');
// totalPages.value = res.data.totalCount
// 鏍规嵁count鏁伴噺鍒ゆ柇鏄惁杩樻湁鏁版嵁
if (res.data.totalCount > this.imcomeInfo.length) {
--
Gitblit v1.9.1