@@ -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() {