登录修改

dev
yujialong 3 years ago
parent aa05aa898f
commit ec6a9332b4
  1. 7
      src/views/Login.vue

@ -197,15 +197,13 @@ export default {
path:'/customer'
});
localStorage.setItem('ms_username', this.param.username);
//
// let user = res.message.retvalue
// this.$store.commit("userLoginData", { userLogin_id : user.userId,userName: user.userName,roleId: user.roleId});
}).catch(err => {
console.log(err,'reserr');
if(err.status===30001){
this.phoneVisible = true
}else if(err.status == 10004){
this.blur()
}
// this.$message.error(err.message)
});
} else {
this.$message.error('请输入账号/密码/验证码');
@ -407,5 +405,6 @@ img{
display: flex;
justify-content: space-between;
border-bottom: 0;
background-color: transparent;
}
</style>
Loading…
Cancel
Save