hookehuyr

fix(CheckinTargetList): 禁用PC端鼠标长按事件以避免与点击冲突

1 <!-- 1 <!--
2 * @Date: 2025-12-16 11:44:27 2 * @Date: 2025-12-16 11:44:27
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2025-12-17 11:27:12 4 + * @LastEditTime: 2025-12-17 11:57:03
5 * @FilePath: /mlaj/src/components/count/CheckinTargetList.vue 5 * @FilePath: /mlaj/src/components/count/CheckinTargetList.vue
6 * @Description: 打卡动态对象列表组件 6 * @Description: 打卡动态对象列表组件
7 --> 7 -->
...@@ -210,7 +210,10 @@ const onTouchMove = () => { ...@@ -210,7 +210,10 @@ const onTouchMove = () => {
210 210
211 // Mouse events (for PC debugging) 211 // Mouse events (for PC debugging)
212 const onMouseDown = (item) => { 212 const onMouseDown = (item) => {
213 - startLongPress(item) 213 + // 仅在非 PC 端(触摸设备)或明确需要测试长按时启用
214 + // 这里简单地禁用 PC 端鼠标长按,因为点击会触发 onClick
215 + // 如果需要在 PC 端支持长按,需要区分点击和长按
216 + // startLongPress(item)
214 } 217 }
215 218
216 const onMouseUp = () => { 219 const onMouseUp = () => {
......