登录修改

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

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