pages/index/index.vue
@@ -45,14 +45,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) {