mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
优化登录功能
This commit is contained in:
parent
e08a700d8f
commit
311c393040
@ -100,7 +100,7 @@
|
|||||||
|
|
||||||
},
|
},
|
||||||
_doRegister:function(){
|
_doRegister:function(){
|
||||||
vc.jumpToPage('/user.html#/register')
|
vc.jumpToPage('/user.html#/pages/frame/register');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
_destroyedMethod: function () {
|
_destroyedMethod: function () {
|
||||||
|
|||||||
@ -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');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user