事件修饰符.prevent修饰符.stop修饰符.once修饰符prevent修饰符用于阻止默认事件行为,相当于event.preventDefault(),例如a标签默认跳转{代码.
確定! 回上一頁