vue阻止右键默认行为

<input type="button" value="按钮" @contextmenu="show()"> 
<input type="button" value="按钮1" @contextmenu.prevent="show1()">

猜你喜欢

转载自blog.csdn.net/sk161205/article/details/88387711