fix(compiler-ssr): no need to inject resolveDirective calls for setup custom directives
This commit is contained in:
parent
0342fae8ad
commit
436c500d2c
@ -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`,
|
||||||
|
Loading…
Reference in New Issue
Block a user