Skip to content

Commit b86b306

Browse files
jay-esjesusLoveLQQ
authored
chore: fix typo in keep-alive (#1575) (#285)
Co-authored-by: LQQ <liqianqian01@haier.com> Co-authored-by: Owenlee <jesus_lqq@163.com> Co-authored-by: LQQ <liqianqian01@haier.com>
1 parent ae7e120 commit b86b306

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/built-ins/keep-alive.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export default {
129129

130130
Note that:
131131

132-
- <span class="composition-api">`onActivated`</span><span class="options-api">`activated`</span> is also called on mount, and <span class="composition-api">`onDectivated`</span><span class="options-api">`deactivated`</span> on unmount.
132+
- <span class="composition-api">`onActivated`</span><span class="options-api">`activated`</span> is also called on mount, and <span class="composition-api">`onDeactivated`</span><span class="options-api">`deactivated`</span> on unmount.
133133

134134
- Both hooks work for not only the root component cached by `<KeepAlive>`, but also descendent components in the cached tree.
135135

0 commit comments

Comments
 (0)