htc 14 시간 전
부모
커밋
9dee1bafe9
1개의 변경된 파일1개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 5
      pages/login.vue

+ 1 - 5
pages/login.vue

@@ -32,15 +32,11 @@
 				
 				
 			}
 			}
 		},
 		},
-		onShow: function() {
+		onReady() {
 			if(uni.getStorageSync('userInfo')){
 			if(uni.getStorageSync('userInfo')){
 				uni.reLaunch({
 				uni.reLaunch({
 					url:'/pages/home'
 					url:'/pages/home'
 				})
 				})
-			}else{
-				uni.reLaunch({
-					url:'/pages/login'
-				})
 			}
 			}
 		},
 		},
 		methods:{
 		methods:{