vue3教程-事件修饰符介绍 作者:马育民 • 2025-01-21 10:15 • 阅读:10011 说明 说明在事件处理时,很多时候要 阻止默认行为、阻止事件冒泡 等,为了解决这个问题,Vue.js 为 v-on 提供了 事件修饰符,以下6种: .stop:阻止事件冒泡.prevent:阻止默认事件.once:点击事件将只会触发一次.capture.self.passive 原文出处:http://malaoshi.top/show_1GWRfVHQkag.html