|
@@ -49,26 +49,7 @@
|
|
|
// url: '/pages/login/index'
|
|
|
// });
|
|
|
// }
|
|
|
-
|
|
|
- if (cacheManager.get('auth')) {
|
|
|
- uni.reLaunch({
|
|
|
- url: `/pages/study/index`,
|
|
|
- success() {
|
|
|
- plus.navigator.closeSplashscreen();
|
|
|
- }
|
|
|
- })
|
|
|
- }else if(cacheManager.get('wxLogin') &&!(cacheManager.get('wxLogin').bind)){
|
|
|
- console.log('微信登录且未绑定')
|
|
|
- // 微信登录且未绑定
|
|
|
- } else {
|
|
|
- cacheManager.clearAll()
|
|
|
- uni.reLaunch({
|
|
|
- url: '/pages/login/index' ,
|
|
|
- success() {
|
|
|
- plus.navigator.closeSplashscreen();
|
|
|
- }
|
|
|
- });
|
|
|
- }
|
|
|
+
|
|
|
|
|
|
const webview = plus.webview.currentWebview();
|
|
|
plus.key.addEventListener('backbutton', () => {
|