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(){