|
|
@ -52,8 +52,11 @@ export function toLogin(push, pathLogin) { |
|
|
|
// #ifdef H5
|
|
|
|
// #ifdef H5
|
|
|
|
if (isWeixin()) { |
|
|
|
if (isWeixin()) { |
|
|
|
if(Cache.get('WECHAT_APPID')){ |
|
|
|
if(Cache.get('WECHAT_APPID')){ |
|
|
|
|
|
|
|
// uni.navigateTo({
|
|
|
|
|
|
|
|
// url: '/pages/users/wechat_login/index',
|
|
|
|
|
|
|
|
// });
|
|
|
|
uni.navigateTo({ |
|
|
|
uni.navigateTo({ |
|
|
|
url: '/pages/users/wechat_login/index', |
|
|
|
url: '/pages/users/login/index', |
|
|
|
}); |
|
|
|
}); |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
return uni.navigateTo({ |
|
|
|
return uni.navigateTo({ |
|
|
@ -72,9 +75,12 @@ export function toLogin(push, pathLogin) { |
|
|
|
// #endif
|
|
|
|
// #endif
|
|
|
|
// #ifdef MP
|
|
|
|
// #ifdef MP
|
|
|
|
let url |
|
|
|
let url |
|
|
|
|
|
|
|
// uni.navigateTo({
|
|
|
|
|
|
|
|
// url: '/pages/users/wechat_login/index'
|
|
|
|
|
|
|
|
// })
|
|
|
|
uni.navigateTo({ |
|
|
|
uni.navigateTo({ |
|
|
|
url: '/pages/users/wechat_login/index' |
|
|
|
url: '/pages/users/login/index', |
|
|
|
}) |
|
|
|
}); |
|
|
|
// #endif
|
|
|
|
// #endif
|
|
|
|
// #ifdef APP-PLUS
|
|
|
|
// #ifdef APP-PLUS
|
|
|
|
uni.navigateTo({ |
|
|
|
uni.navigateTo({ |
|
|
|