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