zhangwei
2024-09-23 208b5a9f559dd2c7298759fdfe37d07c926cbd4d
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) {