Skip to content

Commit c05287a

Browse files
committed
chore: typo
1 parent 690f925 commit c05287a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

questions/232-key-modifiers/README.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
在监听键盘事件时,我们经常需要检查特定的按键。Vue 允许为 v-on 或者 @ 在监听键盘事件时添加按键修饰符:,例如:
55

6-
``vue
6+
```vue
77
<!-- 只有在 `key` 是 `Enter` 时调用 `vm.submit()` -->
88
<input @keyup.enter="submit" />
99
```

0 commit comments

Comments
 (0)