wangxy 4 mesi fa
parent
commit
ceea2ac9a6
1 ha cambiato i file con 5 aggiunte e 5 eliminazioni
  1. 5 5
      components/custom-tabbar/custom-tabbar.vue

+ 5 - 5
components/custom-tabbar/custom-tabbar.vue

@@ -101,7 +101,7 @@
 							this.zhangId+ '&tipFlag=' + this.tipFlag
 					});
 				} else {
-					if (path === '/pages/game/index') {
+					/* if (path === '/pages/game/index') {
 						// 游戏需要返回功能
 						uni.navigateTo({
 							url: path,
@@ -109,11 +109,11 @@
 							"animationDuration":0
 						});
 						return;
-					}
-					uni.navigateTo({
+					} */
+					uni.redirectTo({
 						url: path,
-						"animationType": "fade-in",
-						"animationDuration":0
+						// "animationType": "fade-in",
+						// "animationDuration":0
 					});
 				}