uniapp .stop不生效
uni-ui的uni-icons和uview的u-icon,@click.stop都是无效的
解决办法:给icon套上一个view,把@click.stop换到view上
<view @click.stop="openEditMenu(item)"> <u-icon name="edit-pen" size="50" color="#0066cc" style="padding: 20rpx;"></u-icon> </view>
uni-ui的uni-icons和uview的u-icon,@click.stop都是无效的
解决办法:给icon套上一个view,把@click.stop换到view上
<view @click.stop="openEditMenu(item)"> <u-icon name="edit-pen" size="50" color="#0066cc" style="padding: 20rpx;"></u-icon> </view>