fix(compiler-ssr): no need to inject resolveDirective calls for setup custom directives
This commit is contained in:
@@ -338,7 +338,6 @@ export function buildSSRProps(
|
|||||||
}
|
}
|
||||||
if (directives.length) {
|
if (directives.length) {
|
||||||
for (const dir of directives) {
|
for (const dir of directives) {
|
||||||
context.directives.add(dir.name)
|
|
||||||
mergePropsArgs.push(
|
mergePropsArgs.push(
|
||||||
createCallExpression(context.helper(SSR_GET_DIRECTIVE_PROPS), [
|
createCallExpression(context.helper(SSR_GET_DIRECTIVE_PROPS), [
|
||||||
`_ctx`,
|
`_ctx`,
|
||||||
|
|||||||
Reference in New Issue
Block a user