Browse Source

Merge pull request #54 from biubiaYang/patch-1

修改了 102 行注释拼写错误
若依 3 years ago
parent
commit
1c8473a5da
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/login.vue

+ 2 - 2
src/views/login.vue

@@ -100,7 +100,7 @@ function handleLogin() {
   proxy.$refs.loginRef.validate(valid => {
     if (valid) {
       loading.value = true;
-      // 勾选了需要记住密码设置在cookie中设置记住用户明和名命
+      // 勾选了需要记住密码设置在 cookie 中设置记住用户名和密码
       if (loginForm.value.rememberMe) {
         Cookies.set("username", loginForm.value.username, { expires: 30 });
         Cookies.set("password", encrypt(loginForm.value.password), { expires: 30 });
@@ -212,4 +212,4 @@ getCookie();
   height: 40px;
   padding-left: 12px;
 }
-</style>
+</style>