From 1386086f056f42c4aac4d6fcf0ab73a463aab329 Mon Sep 17 00:00:00 2001 From: rinbowLi <1165973875@qq.com> Date: Wed, 12 Jan 2022 10:11:22 +0800 Subject: [PATCH] Modify the documentation description of the custom directive --- src/guide/custom-directive.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guide/custom-directive.md b/src/guide/custom-directive.md index 4d7a0a6152..0f0d8b6db5 100644 --- a/src/guide/custom-directive.md +++ b/src/guide/custom-directive.md @@ -49,7 +49,7 @@ A directive definition object can provide several hook functions (all optional): - `beforeMount`: called when the directive is first bound to the element and before parent component is mounted. -- `mounted`: called when the bound element's parent component is mounted. +- `mounted`: called before the bound element's parent component is mounted. - `beforeUpdate`: called before the containing component's VNode is updated