Przeglądaj źródła

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

fix #808
hareku 6 lat temu
rodzic
commit
cd34603864
1 zmienionych plików z 1 dodań i 1 usunięć
  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,