quanyawei
2024-01-08 659d09ec24dab6c451220c8f3bb3943b0fdb3ba1
pages/index/index.vue
@@ -36,6 +36,10 @@
         this.currIndex = '0'
         this.showTabBar = true
      },
      onReachBottom() {
         //这里是判断是否需要继续掉接口
         this.$refs.agencyPage.onBottom()
      },
      mounted() {
         //等待登录成功
         this.token = uni.getStorageSync('tonken')
@@ -45,14 +49,14 @@
            console.log('currIndexOn', data)
            this.currIndex = data.data.index
            this.showTabBar = data.data.showTabBar
            this.$refs.agencyPage.getContaminateList()
            this.$refs.agencyPage.setData()
         })
         this.share.title = this.title
      },
      methods: {
         getData() {
            console.log('获取数据')
            this.$refs.agencyPage.getContaminateList()
            this.$refs.agencyPage.setData()
         },
         handleChangeTabe(index) {
            if (index === 2) {