Merge pull request #54 from biubiaYang/patch-1

修改了 102 行注释拼写错误
master
若依 2 years ago committed by GitHub
commit 1c8473a5da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/views/login.vue

@ -100,7 +100,7 @@ function handleLogin() {
proxy.$refs.loginRef.validate(valid => { proxy.$refs.loginRef.validate(valid => {
if (valid) { if (valid) {
loading.value = true; loading.value = true;
// cookie // cookie
if (loginForm.value.rememberMe) { if (loginForm.value.rememberMe) {
Cookies.set("username", loginForm.value.username, { expires: 30 }); Cookies.set("username", loginForm.value.username, { expires: 30 });
Cookies.set("password", encrypt(loginForm.value.password), { expires: 30 }); Cookies.set("password", encrypt(loginForm.value.password), { expires: 30 });
@ -212,4 +212,4 @@ getCookie();
height: 40px; height: 40px;
padding-left: 12px; padding-left: 12px;
} }
</style> </style>

Loading…
Cancel
Save