This commit is contained in:
shijingjing
2022-05-07 11:10:45 +08:00
parent 7cdf054155
commit 8c6d2fe4aa
2 changed files with 3 additions and 2 deletions

View File

@@ -29,11 +29,11 @@ export default {
current: 1,
categoryType: '0',
list: [],
parentName: '产业振兴',
parentName: '',
}
},
onLoad(o) {
// this.parentName = o.listName
this.parentName = o.listName
},
onShow() {
document.title = this.parentName

View File

@@ -51,6 +51,7 @@ export default {
this.parentName = params.parentName
uni.$on('update', (tabIndex) => {
this.currIndex = tabIndex
this.changeTab(tabIndex)
})
},
onShow() {