mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2024-11-10 09:39:14 +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 =
|
||||
!['html', 'text', 'model', 'models'].includes(directiveName) ||
|
||||
!['html', 'text', 'model', 'slots', 'models'].includes(directiveName) ||
|
||||
(isVModel && !isComponent);
|
||||
|
||||
let modifiers = directiveModifiers;
|
||||
|
Loading…
Reference in New Issue
Block a user