From 208b5a9f559dd2c7298759fdfe37d07c926cbd4d Mon Sep 17 00:00:00 2001 From: zhangwei <1504152376@qq.com> Date: 星期一, 23 九月 2024 17:09:21 +0800 Subject: [PATCH] 完善提现 --- src/pages/income/income.vue | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/pages/income/income.vue b/src/pages/income/income.vue index e461610..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> @@ -51,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