Browse Source

fix: 提示修改

zhangying 2 months ago
parent
commit
5c4cd17e67
1 changed files with 1 additions and 12 deletions
  1. 1 12
      vue/src/views/login/index.vue

+ 1 - 12
vue/src/views/login/index.vue

@@ -126,24 +126,13 @@
     }).catch((err: any) => {
       Modal.error({
         title: () => '提示',
-        content: () => err.message + "2",
+        content: () => err.message,
       });
       setCaptcha();
     }).finally(() => {
       state.loading = false;
       message.destroy();
     })
-    // if (err) {
-    //   Modal.error({
-    //     title: () => '提示',
-    //     content: () => err.message,
-    //   });
-    //   setCaptcha();
-    // }
-    // else {
-    // message.success('登录成功!');
-    // setTimeout(() => router.replace((route.query.redirect as string) ?? '/'));
-    // }
   };
 </script>