fix: 🐛 修复在ios中使用手势回退会导致在我的订单页面回退按钮丢失bug

This commit is contained in:
学习很差啦
2022-10-13 14:27:34 +08:00
parent fc8123c194
commit a6883fe607
2 changed files with 4 additions and 4 deletions

View File

@@ -311,7 +311,7 @@ export default {
*/
onBackPress(e) {
if (e.from == "backbutton") {
uni.reLaunch({
uni.switchTab({
url: "/pages/tabbar/user/my",
});
return true; //阻止默认返回行为