style(runtime-core): remove a unnecessary continue (#505)
This commit is contained in:
parent
92b02dc48f
commit
b87c05159b
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user