From 3949404ac3cbada3e178052772a62d0e60a31b02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E9=98=81=E8=BE=89?= Date: Thu, 27 Jan 2022 14:37:41 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A1=E7=AE=97=E9=AB=98=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/start-page/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/start-page/index.vue b/pages/start-page/index.vue index 8997852..83e5d3f 100644 --- a/pages/start-page/index.vue +++ b/pages/start-page/index.vue @@ -96,8 +96,8 @@ export default { } }, onLoad() { - this.pageHight = 'height:' + (window.screen.height - 60) + 'px' - console.log(this.pageHight) + // this.pageHight = 'height:' + (window.screen.height - 60) + 'px' + this.pageHight = 'height:' + (document.documentElement.clientHeight - 60) + 'px' } }