Browse Source

删除调试

longmh 11 months ago
parent
commit
ae79dc2184
1 changed files with 0 additions and 3 deletions
  1. 0 3
      src/views/login.vue

+ 0 - 3
src/views/login.vue

@@ -109,7 +109,6 @@ watch(
 );
 
 const handleLogin = () => {
-  debugger
   loginRef.value?.validate(async (valid: boolean, fields: any) => {
     if (valid) {
       loading.value = true;
@@ -126,8 +125,6 @@ const handleLogin = () => {
         localStorage.removeItem('password');
         localStorage.removeItem('rememberMe');
       }
-      console.log('loginForm', loginForm.value);
-      debugger;
       // 调用action的登录方法
       const [err] = await to(userStore.login(loginForm.value));
       if (!err) {