This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| |key|keycode|功能| | |
| |-|-|-| | |
| |F8|119 |开启/关闭导航| | |
| |F9|120|预览/编辑切换| | |
| |F10 |121 |开启/关闭全屏| | |
| |F11 |122 |开启/关闭阅读模式| | |
| |F12 |123 |单栏/双栏切换| | |
| |TAB |9 |缩进| | |
| |CTRL + S |17 + 83 |触发保存| | |
| |CTRL + D |17 + 68 |删除选中行| |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Vue3 里 script | |
| Vue3 新增了一个叫做组合式 api 的东西,英文名叫 Composition API | |
| ### setup() | |
| ```javascript | |
| <template> | |
| <div>{{ count }}</div> | |
| <button @click="onClick"> | |
| 增加 1 | |
| </button> | |
| </template> |
OlderNewer