fix login bug
This commit is contained in:
@@ -8,6 +8,10 @@ document.addEventListener('plusready', onPlusReady, false);
|
|||||||
function onPlusReady(){
|
function onPlusReady(){
|
||||||
getPosition();
|
getPosition();
|
||||||
}
|
}
|
||||||
|
var province = "";
|
||||||
|
var city = "";
|
||||||
|
var region = "";
|
||||||
|
|
||||||
// 获取当前用户位置
|
// 获取当前用户位置
|
||||||
function getPosition(){
|
function getPosition(){
|
||||||
plus.geolocation.getCurrentPosition(function(p){
|
plus.geolocation.getCurrentPosition(function(p){
|
||||||
|
|||||||
@@ -291,7 +291,7 @@ function checkIsLogin(){
|
|||||||
|
|
||||||
//跳转登录方法, 考虑回调
|
//跳转登录方法, 考虑回调
|
||||||
function gotoLogin(){
|
function gotoLogin(){
|
||||||
clicked('/views/user/passLogin.html',true,false,{},{},function(){
|
clicked('/views/user/codeSms.html',true,false,{},{},function(){
|
||||||
checkIsLogin();
|
checkIsLogin();
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user