页面跳转bug
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user