feat(compile-core): handle falsy dynamic args for v-on and v-bind (#2393)
fix #2388
This commit is contained in:
@@ -644,7 +644,7 @@ export function mergeProps(...args: (Data & VNodeProps)[]) {
|
||||
? [].concat(existing as any, toMerge[key] as any)
|
||||
: incoming
|
||||
}
|
||||
} else {
|
||||
} else if (key !== '') {
|
||||
ret[key] = toMerge[key]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user