fix(runtime-core): add v-memo
to built-in directives check (#4787)
This commit is contained in:
parent
7bb9dd09c5
commit
5eb72630a5
@ -64,7 +64,7 @@ export type Directive<T = any, V = any> =
|
|||||||
export type DirectiveModifiers = Record<string, boolean>
|
export type DirectiveModifiers = Record<string, boolean>
|
||||||
|
|
||||||
const isBuiltInDirective = /*#__PURE__*/ makeMap(
|
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) {
|
export function validateDirectiveName(name: string) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user