fix: v-slots should not import resolveDirective (#698)

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

View File

@ -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;