mirror of https://github.com/vuejs/core.git
Merge 826467570f
into 56be3dd4db
This commit is contained in:
commit
f84adedfdd
|
@ -65,7 +65,7 @@ export const transformBind: DirectiveTransform = (dir, _node, context) => {
|
|||
arg.children.unshift(`(`)
|
||||
arg.children.push(`) || ""`)
|
||||
} else if (!arg.isStatic) {
|
||||
arg.content = `${arg.content} || ""`
|
||||
arg.content = arg.content ? `${arg.content} || ""` : `""`
|
||||
}
|
||||
|
||||
// .sync is replaced by v-model:arg
|
||||
|
|
Loading…
Reference in New Issue