修改了 102 行注释拼写错误
This commit is contained in:
parent
17950a3254
commit
5bd1502433
@ -99,7 +99,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 });
|
||||||
|
Loading…
Reference in New Issue
Block a user