From e3f6581c48b1dfb65c55e8a1a6ce1761a7dc26b4 Mon Sep 17 00:00:00 2001 From: zhangwei <1504152376@qq.com> Date: 星期四, 16 一月 2025 15:29:43 +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