fix: ignore .prop/.attr modifiers in ssr
This commit is contained in:
parent
e66a493da1
commit
29732c2c86
@ -37,13 +37,14 @@ export const transformBind: DirectiveTransform = (dir, _node, context) => {
|
||||
}
|
||||
}
|
||||
|
||||
if (!context.inSSR) {
|
||||
if (modifiers.includes('prop')) {
|
||||
injectPrefix(arg, '.')
|
||||
}
|
||||
|
||||
if (modifiers.includes('attr')) {
|
||||
injectPrefix(arg, '^')
|
||||
}
|
||||
}
|
||||
|
||||
if (
|
||||
!exp ||
|
||||
|
Loading…
Reference in New Issue
Block a user