修改登录失败不提示

This commit is contained in:
不做码农
2022-04-18 09:59:57 +08:00
parent bc633bf62d
commit 4f25ffb185
3 changed files with 94 additions and 90 deletions
+6 -4
View File
@@ -105,7 +105,8 @@ function handleLogin() {
router.push({ path: redirect.value || "/" });
})
.catch((error) => {
// proxy.$modal.msgError(error.msg);
console.log(error)
proxy.$modal.msgError(error.msg);
loading.value = false;
// 重新获取验证码
if (captchaOnOff.value) {
@@ -155,13 +156,14 @@ getCookie();
.title {
margin: 0px auto 30px auto;
text-align: center;
color: #707070;
color: #fff;
}
.login-form {
border-radius: 6px;
background: #ffffff;
width: 400px;
// background: #ffffff;
background-color: hsla(0, 0%, 100%, 0.3);
width: 310px;
padding: 25px 25px 5px 25px;
.el-input {
height: 40px;