소스 검색

跳转调整

wangxy 9 달 전
부모
커밋
94ee6d45b3
1개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제
  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 
 					});