wangguoyu 1 mesiac pred
rodič
commit
0915956ee7
1 zmenil súbory, kde vykonal 36 pridanie a 0 odobranie
  1. 36 0
      App.vue

+ 36 - 0
App.vue

@@ -28,6 +28,24 @@
 				});
 			}
 			// #endif
+			// #ifdef H5
+			if (cacheManager.get('auth')) {
+				uni.reLaunch({
+					url: `/pages/admin/ShouYe/shouye`,
+					success() {
+						
+					}
+				})
+			} else {
+				cacheManager.clearAll()
+				uni.reLaunch({
+					url: '/pages/Login/index',
+					success() {
+			
+					}
+				});
+			}
+			// #endif
 		},
 		onShow: function() {
 
@@ -43,6 +61,24 @@
 				}
 			});
 			// #endif
+			// #ifdef H5
+			if (cacheManager.get('auth')) {
+				uni.reLaunch({
+					url: `/pages/admin/ShouYe/shouye`,
+					success() {
+						
+					}
+				})
+			} else {
+				cacheManager.clearAll()
+				uni.reLaunch({
+					url: '/pages/Login/index',
+					success() {
+			
+					}
+				});
+			}
+			// #endif
 		},
 		onHide: function() {