Skip to content

Commit 4e7aacb

Browse files
committed
docs(event): edit model, fix wangdoc#174
1 parent 3adc5a4 commit 4e7aacb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/events/model.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ HTML 语言允许在元素的属性中,直接定义某些事件的监听代码
3434
使用这个方法指定的监听代码,只会在冒泡阶段触发。
3535

3636
```html
37-
<div onClick="console.log(2)">
38-
<button onClick="console.log(1)">点击</button>
37+
<div onclick="console.log(2)">
38+
<button onclick="console.log(1)">点击</button>
3939
</div>
4040
```
4141

0 commit comments

Comments
 (0)