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) {
for (const key in oldProps) {
if (isReservedProp(key)) continue
if (!(key in newProps)) {
if (!isReservedProp(key) && !(key in newProps)) {
hostPatchProp(
el,
key,