From 2df64e6556b756e745484858cb1a4de0a2295eb0 Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Fri, 20 Mar 2020 18:07:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96copyright?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/frameComponents/copyright/copyright.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/public/frameComponents/copyright/copyright.js b/public/frameComponents/copyright/copyright.js index 770ffc132..4d1a57019 100644 --- a/public/frameComponents/copyright/copyright.js +++ b/public/frameComponents/copyright/copyright.js @@ -20,8 +20,7 @@ const that = this window.onresize = () => { return (() => { - window.screenHeight = document.body.clientHeight - that.screenHeight = window.screenHeight + that.screenHeight = document.body.offsetHeight; })() } },