We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 690f925 commit c05287aCopy full SHA for c05287a
questions/232-key-modifiers/README.zh-CN.md
@@ -3,7 +3,7 @@
3
4
在监听键盘事件时,我们经常需要检查特定的按键。Vue 允许为 v-on 或者 @ 在监听键盘事件时添加按键修饰符:,例如:
5
6
-``vue
+```vue
7
<!-- 只有在 `key` 是 `Enter` 时调用 `vm.submit()` -->
8
<input @keyup.enter="submit" />
9
```
0 commit comments