From 5eb72630a53a8dd82c2b8a9705c21a8075161a3d Mon Sep 17 00:00:00 2001 From: "C.Y.Kun" <30518686+undefined-degisn@users.noreply.github.com> Date: Tue, 19 Oct 2021 08:22:44 +0800 Subject: [PATCH] fix(runtime-core): add `v-memo` to built-in directives check (#4787) --- packages/runtime-core/src/directives.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/runtime-core/src/directives.ts b/packages/runtime-core/src/directives.ts index 58e56df0..ec13e951 100644 --- a/packages/runtime-core/src/directives.ts +++ b/packages/runtime-core/src/directives.ts @@ -64,7 +64,7 @@ export type Directive = export type DirectiveModifiers = Record const isBuiltInDirective = /*#__PURE__*/ makeMap( - 'bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text' + 'bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo' ) export function validateDirectiveName(name: string) {