fix: pc 去除多条console.log

This commit is contained in:
2025-06-27 09:38:53 +08:00
parent 774954c70b
commit 239bb64e9a

View File

@@ -101,7 +101,6 @@
var windowHeight = $(window).height();
// 监听滚动事件
$(window).scroll(function() {
console.log($(this).scrollTop(),windowHeight)
// 检查滚动距离是否超过一屏幕高度
if ($(this).scrollTop() > windowHeight) {
// 如果超过,显示返回顶部按钮