From: fisker Cheung Date: Thu, 28 Nov 2019 15:45:49 +0000 (+0800) Subject: style(runtime-core): remove a unnecessary continue (#505) X-Git-Tag: v3.0.0-alpha.0~136 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b87c05159be9741a0d44fbc1be05da6027e852ef;p=thirdparty%2Fvuejs%2Fcore.git style(runtime-core): remove a unnecessary continue (#505) --- diff --git a/packages/runtime-core/src/renderer.ts b/packages/runtime-core/src/renderer.ts index 63a660562d..f666304b14 100644 --- a/packages/runtime-core/src/renderer.ts +++ b/packages/runtime-core/src/renderer.ts @@ -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,