|
[多端开发]
avm click 事件 detail 中 为空
[复制链接]
按 文档中给出的事件 click 也是包含 x,y 坐标的 click | 点击事件,event.detail = { x, y } |
但是实际测试中发现,detail 里面为空
系统为 小米note 安卓 6.0.1
- <view onclick='clickthis'>
- <image src='' class="height-96 margin-left-16 margin-right-16 margin-top-10"></image>
- </view>
复制代码
- clickthis(e){
- console.log(JSON.stringify(e));
- },
复制代码
|
|