fix: pc 去除多条console.log
This commit is contained in:
@@ -101,7 +101,6 @@
|
||||
var windowHeight = $(window).height();
|
||||
// 监听滚动事件
|
||||
$(window).scroll(function() {
|
||||
console.log($(this).scrollTop(),windowHeight)
|
||||
// 检查滚动距离是否超过一屏幕高度
|
||||
if ($(this).scrollTop() > windowHeight) {
|
||||
// 如果超过,显示返回顶部按钮
|
||||
|
||||
Reference in New Issue
Block a user