Переглянути джерело

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

fix #808
hareku 6 роки тому
батько
коміт
cd34603864
1 змінених файлів з 1 додано та 1 видалено
  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,