Fix:2476 【商城小程序】康养旅居页面点击返回按钮的问题

This commit is contained in:
modendeveloper
2024-10-11 23:20:30 +08:00
parent f3e036b9be
commit cf868ccebe
2 changed files with 7 additions and 2 deletions
+6 -1
View File
@@ -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
})
},