We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
v-bind
1 parent e0e8221 commit d3af67eCopy full SHA for d3af67e
packages/compiler-core/src/transforms/vBind.ts
@@ -65,7 +65,7 @@ export const transformBind: DirectiveTransform = (dir, _node, context) => {
65
arg.children.unshift(`(`)
66
arg.children.push(`) || ""`)
67
} else if (!arg.isStatic) {
68
- arg.content = `${arg.content} || ""`
+ arg.content = arg.content ? `${arg.content} || ""` : `""`
69
}
70
71
// .sync is replaced by v-model:arg
0 commit comments