From 81a132f7b5d022e8d55dc1fefe2a7357f5bcbafa Mon Sep 17 00:00:00 2001
From: 杨磊 <505174330@qq.com>
Date: 星期一, 25 八月 2025 15:22:27 +0800
Subject: [PATCH] 首页

---
 src/layout/components/login.vue |   29 ++++++++---------------------
 1 files changed, 8 insertions(+), 21 deletions(-)

diff --git a/src/layout/components/login.vue b/src/layout/components/login.vue
index f7bb65d..c4b29fd 100644
--- a/src/layout/components/login.vue
+++ b/src/layout/components/login.vue
@@ -223,11 +223,6 @@
     })
 }
 
-watchEffect(() => {
-  if (dialogFormVisible.value) {
-  }
-})
-
 //鐧诲綍
 
 const loginBtn = () => {
@@ -309,7 +304,14 @@
         })
       }
     }
-    router.go(0)
+    if (localStorage.getItem('loginBack')) {
+      console.log(localStorage.getItem('loginBack'))
+      debugger
+      window.location.href = localStorage.getItem('loginBack')
+      localStorage.removeItem('loginBack')
+    } else {
+      router.go(0)
+    }
   })
 }
 
@@ -813,20 +815,5 @@
 
 .selectPhone {
   background: #fff;
-}
-
-::v-deep(.el-select) {
-  width: 100px;
-  height: 30px;
-  color: red;
-  border: none !important;
-
-  ::v-deep(.select-trigger) {
-    height: 100%;
-    .el-input--suffix {
-      height: 100%;
-      background-color: #fff;
-    }
-  }
 }
 </style>

--
Gitblit v1.9.1