29415
This commit is contained in:
@@ -51,7 +51,6 @@ 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() {
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
this.tabIndex = index
|
this.tabIndex = index
|
||||||
uni.navigateBack({
|
uni.navigateBack({
|
||||||
success: ()=>{
|
success: ()=>{
|
||||||
uni.$emit('update',this.tabIndex)
|
uni.$emit('update',index)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user