wangguoyu 4 月之前
父節點
當前提交
d2930efb8e
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      App.vue

+ 3 - 1
App.vue

@@ -8,8 +8,10 @@
 	} from "@/utils/common";
 	import cacheManager from "@/utils/cacheManager.js";
 	export default {
+			
 		// creat by wgy 0619  生命周期 钩子  
 		onLaunch: function() {
+			// #ifdef APP-PLUS
 			if (cacheManager.get('auth')) {
 				uni.reLaunch({
 					url: `/pages/study/index`,
@@ -29,7 +31,7 @@
 					}
 				});
 			}
-			
+					// #endif
 		},
 		onShow: function() {