马宇豪
2024-08-08 700eb98db0151940cc91abcc5b3149ce23ec42de
pages/tabBar/count/countDetail.vue
@@ -58,7 +58,7 @@
        examParams: {
          pageNum: 1,
          pageSize: 10,
          completed: 1
          state: 2
        },
        examList: [],
        totalPage: 0
@@ -66,6 +66,7 @@
         
      },
      onLoad() {
      console.log('跳转完成')
         this.statusBarHeight = uni.getSystemInfoSync()['statusBarHeight'];
         // uni.hideTabBar();
      this.getExamList()
@@ -87,7 +88,7 @@
        getExamList(this.examParams).then(res => {
          if(res.code == 200) {
            let list = res.data.list?res.data.list: [];
            if (res.pageNum != 1) {
            if (res.data.pageNum != 1) {
              this.examList = this.examList.concat(list)
            } else {
              this.examList = res.data.list