Commit b550b6b9 authored by 黄媛媛's avatar 黄媛媛

111

parent 69470d50
...@@ -37,15 +37,7 @@ export default { ...@@ -37,15 +37,7 @@ export default {
} }
}, },
created(){ created(){
let href = window.location.href;
let param = href.split('?')[1].split("&") ;
if(param){
let obj={};
obj.token=param[0].split('=')[1];
obj.SecretKey=param[1].split('=')[1];
localStorage.zcuserInfo = JSON.stringify(obj);
this.getUserInfo();
}
}, },
mounted(){ mounted(){
this.initData(); this.initData();
......
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