2
0
mirror of https://github.com/vuejs/babel-plugin-jsx.git synced 2025-05-12 19:24:43 +08:00

fix: v-slots should not import resolveDirective ()

This commit is contained in:
qlin 2024-05-27 03:19:02 +08:00 committed by GitHub
parent 217b9229d6
commit 734abf5d92
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -81,7 +81,7 @@ const parseDirectives = (params: {
} }
const shouldResolve = const shouldResolve =
!['html', 'text', 'model', 'models'].includes(directiveName) || !['html', 'text', 'model', 'slots', 'models'].includes(directiveName) ||
(isVModel && !isComponent); (isVModel && !isComponent);
let modifiers = directiveModifiers; let modifiers = directiveModifiers;