页面跳转bug

This commit is contained in:
花有清香月有阴
2021-12-24 10:24:12 +08:00
parent 6863a7fb73
commit 0f10f23e7f
2 changed files with 7 additions and 10 deletions

View File

@@ -143,10 +143,10 @@ export default {
onLoad(o) {
if (o.indexTabs) {
this.currentTabs = o.indexTabs
this.getList()
}
this.$dict.load('marriageType', 'modeType').then(() => {
this.getList()
this.getEchart()
})
},
@@ -262,27 +262,27 @@ export default {
toList(num) {
if (num == 0) {
console.log('全部')
uni.navigateTo({ url: `./AllActiveList` })
}
if (num == 1) {
console.log('干部')
uni.navigateTo({ url: `./CadreList` })
}
if (num == 2) {
console.log('婚礼')
uni.navigateTo({ url: `./MarryList` })
}
if (num == 3) {
console.log('丧礼')
uni.navigateTo({ url: `./FuneralList` })
}
},
change(index) {
this.currentTabs = index
this.getList()
this.getEchart()
if (this.currentTabs == 0) {
this.getEchart()
}
if (this.currentTabs == 1) {
this.getList()
}
},
},
onReachBottom() {