摘要: .prevent用来阻止浏览器的默认行为 1.超链接跳转,比如 <a href="http://www.baidu.com" @click.prevent="dosomething"/> 2.form标签的submit点击后导致的页面刷新 3.网页 右键菜单 等 阅读全文
posted @ 2022-04-18 11:22 RookieCoderAdu 阅读(408) 评论(0) 推荐(0)