29415
This commit is contained in:
@@ -51,7 +51,6 @@ export default {
|
||||
this.parentName = params.parentName
|
||||
uni.$on('update', (tabIndex) => {
|
||||
this.currIndex = tabIndex
|
||||
this.changeTab(tabIndex)
|
||||
})
|
||||
},
|
||||
onShow() {
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
this.tabIndex = index
|
||||
uni.navigateBack({
|
||||
success: ()=>{
|
||||
uni.$emit('update',this.tabIndex)
|
||||
uni.$emit('update',index)
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user