Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
电线:click.prevent =“函数()”
我很困惑为什么我们把 .prevent 放在后面?连我的朋友都说:你可以直接放wire:click 不会影响的。那么拥有这个 .prevent 有什么意义呢?