|
@@ -141,6 +141,7 @@ export default {
|
|
|
if(data.data.utype == 2){
|
|
if(data.data.utype == 2){
|
|
|
window.location.hash='/companyData';
|
|
window.location.hash='/companyData';
|
|
|
}
|
|
}
|
|
|
|
|
+ localStorage.setItem('utype',res.data.data.utype);
|
|
|
localStorage.setItem('token',res.data.data.token);
|
|
localStorage.setItem('token',res.data.data.token);
|
|
|
}else{
|
|
}else{
|
|
|
this.$message.error("账号或者密码有误");
|
|
this.$message.error("账号或者密码有误");
|