feat(compile-core): handle falsy dynamic args for v-on and v-bind (#2393)
fix #2388
This commit is contained in:
@@ -1070,6 +1070,7 @@ function baseCreateRenderer(
|
||||
) => {
|
||||
if (oldProps !== newProps) {
|
||||
for (const key in newProps) {
|
||||
// empty string is not valid prop
|
||||
if (isReservedProp(key)) continue
|
||||
const next = newProps[key]
|
||||
const prev = oldProps[key]
|
||||
|
||||
Reference in New Issue
Block a user