vue阻止右鍵默認行為
<!--不阻止右鍵菜單(瀏覽器行為),右鍵執行函數show--> <input type="button" value="按鈕" @contextmenu="show()"> <!--阻止右鍵菜單--> <input type="button" value="按鈕1" @contextmenu.prevent> <!--阻止右鍵菜單(瀏覽器行為),右鍵執行函數show--> <input type="button" value="按鈕1" @contextmenu.prevent="show1()">