This commit is contained in:
shijingjing
2022-05-07 11:57:20 +08:00
parent ae822f7e8a
commit f01b317953
2 changed files with 1 additions and 2 deletions

View File

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

View File

@@ -29,7 +29,7 @@
this.tabIndex = index
uni.navigateBack({
success: ()=>{
uni.$emit('update',this.tabIndex)
uni.$emit('update',index)
}
})
},