From: C.Y.Kun <30518686+undefined-degisn@users.noreply.github.com> Date: Tue, 19 Oct 2021 00:22:44 +0000 (+0800) Subject: fix(runtime-core): add `v-memo` to built-in directives check (#4787) X-Git-Tag: v3.2.21~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5eb72630a53a8dd82c2b8a9705c21a8075161a3d;p=thirdparty%2Fvuejs%2Fcore.git fix(runtime-core): add `v-memo` to built-in directives check (#4787) --- diff --git a/packages/runtime-core/src/directives.ts b/packages/runtime-core/src/directives.ts index 58e56df052..ec13e951bc 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) {