优化登录功能

This commit is contained in:
wuxw 2020-05-02 16:02:27 +08:00
parent e08a700d8f
commit 311c393040
2 changed files with 3 additions and 3 deletions

View File

@ -100,7 +100,7 @@
}, },
_doRegister:function(){ _doRegister:function(){
vc.jumpToPage('/user.html#/register') vc.jumpToPage('/user.html#/pages/frame/register');
} }
}, },
_destroyedMethod: function () { _destroyedMethod: function () {

View File

@ -137,7 +137,7 @@
function(json,res){ function(json,res){
//vm.menus = vm.refreshMenuActive(JSON.parse(json),0); //vm.menus = vm.refreshMenuActive(JSON.parse(json),0);
if(res.status == 200){ if(res.status == 200){
vc.jumpToPage("/user.html#/login"); vc.jumpToPage("/user.html#/pages/frame/login");
return ; return ;
} }
vc.component.registerInfo.errorInfo = json; vc.component.registerInfo.errorInfo = json;
@ -159,7 +159,7 @@
} }
}, },
_doLogin:function(){ _doLogin:function(){
vc.jumpToPage('/user.html#/login'); vc.jumpToPage('/user.html#/pages/frame/login');
} }
} }
}); });