标签:bsp his The lse console tin ++ pre ntb
Marquee2 () { let ul = document.getElementById(‘ul‘) let ul1 = document.getElementById(‘ul1‘) // let ul2 = document.getElementById(‘ul2‘) if (!(ul1 && ul)) { return } if (ul.scrollTop >= ul1.offsetHeight) { ul.scrollTop = 0 } else { ul.scrollTop++ } },
或者:
destroyed () { // 清掉intervel clearInterval(this.marqueeTimer) },
标签:bsp his The lse console tin ++ pre ntb
原文地址:https://www.cnblogs.com/benbendu/p/9228565.html