style(runtime-core): remove a unnecessary continue (#505)

This commit is contained in:
fisker Cheung 2019-11-28 23:45:49 +08:00 committed by Evan You
parent 92b02dc48f
commit b87c05159b

View File

@ -614,8 +614,7 @@ export function createRenderer<
} }
if (oldProps !== EMPTY_OBJ) { if (oldProps !== EMPTY_OBJ) {
for (const key in oldProps) { for (const key in oldProps) {
if (isReservedProp(key)) continue if (!isReservedProp(key) && !(key in newProps)) {
if (!(key in newProps)) {
hostPatchProp( hostPatchProp(
el, el,
key, key,