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