zjweb
zjweb
  • 发布:2021-04-05 00:40
  • 更新:2021-04-05 00:40
  • 阅读:531

怎么获取单击事件的坐标

分类:uni-app

小程序没有问题,在安卓真机上,@tap和@click的event参数都是0,@longpress都有值
{
"type": "click",
"timeStamp": 1617554318664,
"target": {
"id": "",
"dataset": {},
"offsetLeft": 0,
"offsetTop": 0
},
"currentTarget": {
"id": "",
"dataset": {},
"offsetLeft": 0,
"offsetTop": 0
},
"detail": {},
"stopPropagation": "function() { [native code] }"
}

2021-04-05 00:40 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复