Skip to content

Commit 140a013

Browse files
authored
fix(custom-directives.md): fix typo (#143)
1 parent 985865e commit 140a013

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/reusability/custom-directives.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ app.directive('focus', {
109109

110110
```js
111111
const myDirective = {
112-
// 在帮顶元素的 attribute 前调用
112+
// 在绑定元素的 attribute 前调用
113113
// 或事件监听器应用前调用
114114
created(el, binding, vnode, prevVnode) {
115115
// 下面会介绍各个参数的细节

0 commit comments

Comments
 (0)