tangning hai 1 mes
pai
achega
37a866ff25
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      src/view/system/login.vue

+ 1 - 2
src/view/system/login.vue

@@ -123,8 +123,6 @@ function isHttpHttpsUrl(path) {
 // 表单提交
 const submitClick = async () => {
   
-  const params: any = router.currentRoute.value.query;
-  console.log("params", params);
   if (verification.phone && verification.phone !== "88888888888") {
     return openErrorMsg(verification.phone);
   }
@@ -153,6 +151,7 @@ const submitClick = async () => {
         }
       };
 
+      const params: any = router.currentRoute.value.query;
       const rawRedirect = params.redirect as string;
       let resolved = decodeOnce(rawRedirect);