From c9855a55c30fbb3c4c2dd9d45dc30337e9858b3b Mon Sep 17 00:00:00 2001 From: a0049873 <79py69t9wb@privaterelay.appleid.com> Date: Tue, 21 Jun 2022 17:04:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=BB=9A=E5=8A=A8=E6=9D=A1bug=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/views/home/components/header.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/front/src/views/home/components/header.vue b/front/src/views/home/components/header.vue index 3fc68faa..17e0cad5 100644 --- a/front/src/views/home/components/header.vue +++ b/front/src/views/home/components/header.vue @@ -265,21 +265,21 @@ if (mynoticeDom) { mynoticeDom.addEventListener('mouseover', () => { mynoticeFlag.value = true - document.documentElement.style.overflow = 'hidden' + document.documentElement.style.overflowY = 'hidden' }) mynoticeDom.addEventListener('mouseout', () => { mynoticeFlag.value = false - document.documentElement.style.overflow = 'scroll' + document.documentElement.style.overflowY = 'scroll' }) } if (mynotice) { mynotice.addEventListener('mouseover', () => { mynoticeFlag.value = true - document.documentElement.style.overflow = 'hidden' + document.documentElement.style.overflowY = 'hidden' }) mynotice.addEventListener('mouseout', () => { mynoticeFlag.value = false - document.documentElement.style.overflow = 'scroll' + document.documentElement.style.overflowY = 'scroll' }) } mybus.on('getSgcNum', () => {