From fb05160bc6579cf5aab0923bee59e1a9e0499a20 Mon Sep 17 00:00:00 2001 From: abab2320 <1589841436@qq.com> Date: Mon, 24 Mar 2025 09:07:33 +0800 Subject: [PATCH] =?UTF-8?q?=E9=94=99=E8=AF=AF=E4=BF=A1=E6=81=AF=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Front/vue-unilife/src/components/LogPage.vue | 36 +++++++------------- 1 file changed, 12 insertions(+), 24 deletions(-) diff --git a/Front/vue-unilife/src/components/LogPage.vue b/Front/vue-unilife/src/components/LogPage.vue index 9f37792..268a8f5 100644 --- a/Front/vue-unilife/src/components/LogPage.vue +++ b/Front/vue-unilife/src/components/LogPage.vue @@ -27,19 +27,6 @@ const form_box = ref(null); //保证界面切换后不出现非对应的错误提示——可优化!!!!! const switchLoginEvent = () =>{ password.value = vericode.value = verifyPassword.value = ""; - if(switchLogin.value)//注册切换登录 - { - if(switchLoginMethod.value)//邮箱登录切换密码登录 - { - password.value = verifyPassword.value = 123456; - - } - else - { - vericode.value = 1; - } - } - switchLogin.value = !switchLogin.value; switchLogin.value ? transRate.value = '0' : transRate.value = '90'; if(form_box.value) @@ -199,13 +186,17 @@ async function login(){