mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2025-01-10 16:29:12 +08:00
fix: v-slots should not import resolveDirective (#698)
This commit is contained in:
parent
217b9229d6
commit
734abf5d92
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user