瀏覽代碼

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,