fix login bug

This commit is contained in:
尹吉欢
2018-04-13 10:26:44 +08:00
parent 108d175352
commit 37deba64e8
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -7,7 +7,11 @@ document.addEventListener('plusready', onPlusReady, false);
//扩展API加载完毕,现在可以正常调用扩展API
function onPlusReady(){
getPosition();
}
}
var province = "";
var city = "";
var region = "";
// 获取当前用户位置
function getPosition(){
plus.geolocation.getCurrentPosition(function(p){
+1 -1
View File
@@ -291,7 +291,7 @@ function checkIsLogin(){
//跳转登录方法, 考虑回调
function gotoLogin(){
clicked('/views/user/passLogin.html',true,false,{},{},function(){
clicked('/views/user/codeSms.html',true,false,{},{},function(){
checkIsLogin();
})
}