MrShi
11 小时以前 00a7a61df86db969f2ba61c508d02ba4709ce3d4
small-program/shop/pages/wallet/wallet.vue
@@ -224,6 +224,9 @@
            this.getFirstPageData()
         })
      },
      onReachBottom() {
         this.getShopPage()
      },
      methods:{
         bindChange1 (e) {
            this.tempStartDate = e.detail.value || null
@@ -257,6 +260,7 @@
            }).then(res => {
               if (res.code == 200) {
                  if(res.data.page == 1){
                     this.getShopSummary()
                     this.hasNext = true
                     this.dataList=[]
                  }
@@ -269,6 +273,8 @@
                     this.hasNext = true
                  }
               }
            }).finally(() => {
               this.loading = false
            })
         },
         getShopSummary() {
@@ -379,7 +385,7 @@
            this.endDate = null
            
            this.getShopStatistics()
            this.getShopSummary()
            // this.getShopSummary()
            this.getFirstPageData()
         },
         checkActive(index){
@@ -389,7 +395,7 @@
            this.tempType =index
         },
         getFirstPageData(){
            this.currentPage = 0
            this.currentPage = 1
            this.hasNext = true
            this.loading = false
            this.total = 0