wangguoyu 6 mēneši atpakaļ
vecāks
revīzija
c08601c782
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 4 0
      components/custom-tabbar/custom-tabbar.vue

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

@@ -58,6 +58,10 @@
 						url: path + '?nianji=' + this.nianji + '&cardId=' + this.cardId + '&zhangId=' + this
 							.zhangId
 					});
+				}else{
+					uni.redirectTo({
+						url: path 
+					});
 				}
 
 			},