Browse Source

取消注释

htc 1 year ago
parent
commit
bc65a1f222
1 changed files with 2 additions and 2 deletions
  1. 2 2
      App.vue

+ 2 - 2
App.vue

@@ -6,8 +6,8 @@
 		onShow: function() {
 			console.log('App Show')
 			this.autoUpdate();
-			// if(uni.getStorageSync('userInfo')) uni.reLaunch({ url:'/pages/home/index' })
-			// else uni.reLaunch({ url:'/pages/login/index' })
+			if(uni.getStorageSync('userInfo')) uni.reLaunch({ url:'/pages/home/index' })
+			else uni.reLaunch({ url:'/pages/login/index' })
 		},
 		onHide: function() {
 			console.log('App Hide')