Skip to content

Commit ce87b0e

Browse files
jesusLoveLQQ
andauthored
chore: fix typo in keep-alive (vuejs#1575)
Co-authored-by: LQQ <[email protected]>
1 parent 1a52ccb commit ce87b0e

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)