Commit 3352f2ba authored by hujun's avatar hujun

登录跳转首页

parent 06c0efac
...@@ -135,7 +135,7 @@ $(function() { ...@@ -135,7 +135,7 @@ $(function() {
if(typeof data === 'object') { if(typeof data === 'object') {
if(data.code == 200) { if(data.code == 200) {
localStorage.setItem('pcUserInfo', encodeURIComponent(JSON.stringify(data.data))); //存储PC后台登录用户所有信息 localStorage.setItem('pcUserInfo', encodeURIComponent(JSON.stringify(data.data))); //存储PC后台登录用户所有信息
location.href = '/admin.php/index/getHouseList'; location.href = '/admin.php/index/performanceRanking';
localStorage.removeItem('id_details_str'); localStorage.removeItem('id_details_str');
} else { } else {
alert(data['msg']); alert(data['msg']);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment