|
|
|
@ -50,9 +50,9 @@ export function toLogin(push, pathLogin) { |
|
|
|
|
pathLogin = '/page/users/login/index' |
|
|
|
|
Cache.set('login_back_url', path); |
|
|
|
|
// #ifdef H5
|
|
|
|
|
if (isWeixin()) { |
|
|
|
|
auth.oAuth(); |
|
|
|
|
} else { |
|
|
|
|
// if (isWeixin()) {
|
|
|
|
|
// auth.oAuth();
|
|
|
|
|
// } else {
|
|
|
|
|
if (path !== pathLogin) { |
|
|
|
|
push ? uni.navigateTo({ |
|
|
|
|
url: '/pages/users/login/index' |
|
|
|
@ -60,7 +60,7 @@ export function toLogin(push, pathLogin) { |
|
|
|
|
url: '/pages/users/login/index' |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
// }
|
|
|
|
|
// #endif
|
|
|
|
|
|
|
|
|
|
// #ifdef APP-PLUS
|
|
|
|
|