zhuxinbo před 5 roky
rodič
revize
d5c070a3e9

+ 2 - 0
src/views/modules/Statistics/alipayStatistics.vue

@@ -427,6 +427,7 @@ export default {
     onTabChange(key, type) {
       console.log(key, type)
       this[type] = key
+      this.data = []
       if (key == 'day') {
         this.columns = columns
         this.data.push({ ...this.dataAll.dailyAccountReport, key: 1 })
@@ -440,6 +441,7 @@ export default {
         })
       }
       this.ipagination.total = this.data.length
+      this.ipagination.current = 1
     },
     disabledDate(current) {
       return current && current > moment().subtract(1, 'day')