.wxml代码
小知识:show-menu-by-longpress='1' //image标签设置这个参数,打开长按发送给朋友、识别图中小程序;使用 catch:touchmove="touchmove"事件,catch:修饰阻止冒泡
<view class="image_view" catch:touchmove="touchmove"> <image src="/iamges/aa.png" show-menu-by-longpress='1'></image> </view>
.js代码
写一个空方法就行啦
touchmove(){},