diff --git a/Front/vue-unilife/src/components/LogPage.vue b/Front/vue-unilife/src/components/LogPage.vue index 21adf4f..95ffb51 100644 --- a/Front/vue-unilife/src/components/LogPage.vue +++ b/Front/vue-unilife/src/components/LogPage.vue @@ -314,7 +314,7 @@ async function login(){ padding: 0; } - :global(body){ + body{ height: 100vh;; /*弹性布局,水平垂直居中*/ display:flex; @@ -554,7 +554,8 @@ async function login(){