Fix:2476 【商城小程序】康养旅居页面点击返回按钮的问题
This commit is contained in:
@@ -210,7 +210,7 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
toSanctun() {
|
toSanctun() {
|
||||||
uni.navigateTo({
|
uni.redirectTo({
|
||||||
url:
|
url:
|
||||||
"/pkg_product/views/healthSanctum?city=" +
|
"/pkg_product/views/healthSanctum?city=" +
|
||||||
this.cityId +
|
this.cityId +
|
||||||
|
|||||||
@@ -104,6 +104,11 @@ export default {
|
|||||||
})
|
})
|
||||||
this.getTop()
|
this.getTop()
|
||||||
},
|
},
|
||||||
|
onUnload() {
|
||||||
|
// uni.navigateBack({
|
||||||
|
// delta: 0
|
||||||
|
// })
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleTab(index, tab) {
|
handleTab(index, tab) {
|
||||||
this.actived = index
|
this.actived = index
|
||||||
@@ -111,7 +116,7 @@ export default {
|
|||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
toFoods() {
|
toFoods() {
|
||||||
uni.navigateTo({
|
uni.redirectTo({
|
||||||
url: '/pkg_product/views/healthFoods?city=' + this.cityId + '&cityName=' + this.cityName
|
url: '/pkg_product/views/healthFoods?city=' + this.cityId + '&cityName=' + this.cityName
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user