Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
mlaj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-12-17 11:57:49 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
001019dba6903d3b10d916ed83244925d3ab9d60
001019db
1 parent
0f5b5a04
fix(CheckinTargetList): 禁用PC端鼠标长按事件以避免与点击冲突
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
src/components/count/CheckinTargetList.vue
src/components/count/CheckinTargetList.vue
View file @
001019d
<!--
* @Date: 2025-12-16 11:44:27
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-12-17 11:
27:12
* @LastEditTime: 2025-12-17 11:
57:03
* @FilePath: /mlaj/src/components/count/CheckinTargetList.vue
* @Description: 打卡动态对象列表组件
-->
...
...
@@ -210,7 +210,10 @@ const onTouchMove = () => {
// Mouse events (for PC debugging)
const onMouseDown = (item) => {
startLongPress(item)
// 仅在非 PC 端(触摸设备)或明确需要测试长按时启用
// 这里简单地禁用 PC 端鼠标长按,因为点击会触发 onClick
// 如果需要在 PC 端支持长按,需要区分点击和长按
// startLongPress(item)
}
const onMouseUp = () => {
...
...
Please
register
or
login
to post a comment