<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<div id="app">
<div>{
{num}}</div>
<div v-on:click='handle0'>
<button v-on:click.stop='handle1'>点击1</button>
</div>
<div>
<a href="http://www.baidu.com"
134Vue-事件修饰符阻止冒泡、阻止默认行为、按键修饰符、capture启用捕获顺序从外到里
最新推荐文章于 2024-02-18 13:40:18 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)