滚动条bug修改
This commit is contained in:
parent
25eed3e27b
commit
c9855a55c3
|
@ -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', () => {
|
||||
|
|
Loading…
Reference in New Issue