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', () => {