ソースを参照

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,