Explorar o código

fix(runtime-core): pass prev value to hostPatchProp (#809)

fix #808
hareku %!s(int64=6) %!d(string=hai) anos
pai
achega
cd34603864
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/runtime-core/src/renderer.ts

+ 1 - 1
packages/runtime-core/src/renderer.ts

@@ -831,7 +831,7 @@ function baseCreateRenderer<
               el,
               key,
               null,
-              null,
+              oldProps[key],
               isSVG,
               vnode.children as HostVNode[],
               parentComponent,