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, current: 1,
categoryType: '0', categoryType: '0',
list: [], list: [],
parentName: '产业振兴', parentName: '',
} }
}, },
onLoad(o) { onLoad(o) {
// this.parentName = o.listName this.parentName = o.listName
}, },
onShow() { onShow() {
document.title = this.parentName document.title = this.parentName

View File

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