\"fix: 修复handleTouchStart函数中的重复代码和事件处理问题\"

This commit is contained in:
yuantao
2025-10-16 10:49:23 +08:00
parent be97920e8a
commit a1b3fe7fb0

View File

@@ -1059,10 +1059,11 @@ const handleTouchStart = (e) => {
if (navigator.vibrate) {
navigator.vibrate(10)
}
// 阻止页面滚动
e.preventDefault()
}, 300) // 300毫秒长按触发拖拽
// 阻止页面滚动
e.preventDefault()
}
}
// 添加拖拽指示器