From c8d1f93b9fbfb6fa2710781f069975c6532b440a Mon Sep 17 00:00:00 2001 From: chuzhixin <1204505056@qq.com> Date: Sun, 4 Oct 2020 14:05:02 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=E4=BF=AE=E5=A4=8D360=E6=B5=8F=E8=A7=88?= =?UTF-8?q?=E5=99=A8404=E3=80=81401=E9=A1=B5=E9=9D=A2=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E9=94=99=E4=BD=8D=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/vab-content/index.vue | 5 ++++- src/views/401.vue | 2 +- src/views/404.vue | 5 +++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/layout/vab-content/index.vue b/src/layout/vab-content/index.vue index ef68de9..6ce52dd 100644 --- a/src/layout/vab-content/index.vue +++ b/src/layout/vab-content/index.vue @@ -45,7 +45,10 @@ margin: @vab-margin; background: #fff; .error-container { - min-height: 100% !important; + height: calc( + 100vh - @vab-header-height - @vab-padding - @vab-padding - @vab-padding - + @vab-padding - @vab-padding - @vab-margin + ) !important; } } diff --git a/src/views/401.vue b/src/views/401.vue index 4ed56d6..f7ed7fa 100644 --- a/src/views/401.vue +++ b/src/views/401.vue @@ -71,7 +71,7 @@