From 264a2c1e93e9b9cd3c7e0568b656325b12b008ec Mon Sep 17 00:00:00 2001 From: QYF-GitLab1 <1940665526@qq.com> Date: 星期一, 25 八月 2025 15:59:03 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/xiehe_website --- 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