Browse Source

跳转调整

wangxy 6 months ago
parent
commit
94ee6d45b3
1 changed files with 9 additions and 0 deletions
  1. 9 0
      components/custom-tabbar/custom-tabbar.vue

+ 9 - 0
components/custom-tabbar/custom-tabbar.vue

@@ -62,6 +62,15 @@
 							.zhangId
 					});
 				}else{
+
+          if (path === '/pages/game/index') {
+            // 游戏需要返回功能
+            uni.navigateTo({
+              url: path
+            });
+            return ;
+          }
+
 					uni.redirectTo({
 						url: path 
 					});