fix(compiler-ssr): no need to inject resolveDirective calls for setup custom directives

This commit is contained in:
Evan You 2022-02-12 16:18:54 +08:00
parent 0342fae8ad
commit 436c500d2c

View File

@ -338,7 +338,6 @@ export function buildSSRProps(
}
if (directives.length) {
for (const dir of directives) {
context.directives.add(dir.name)
mergePropsArgs.push(
createCallExpression(context.helper(SSR_GET_DIRECTIVE_PROPS), [
`_ctx`,