]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
wip: handling vapor props
authordaiwei <daiwei521@126.com>
Mon, 26 May 2025 06:48:30 +0000 (14:48 +0800)
committerdaiwei <daiwei521@126.com>
Mon, 26 May 2025 06:48:30 +0000 (14:48 +0800)
packages/runtime-vapor/src/vdomInterop.ts

index 4d1f4e6f184544dbebdb89811aad18e4c90bf2ed..1db4231a9906dc6d6cc05d65bc971e744f92b32d 100644 (file)
@@ -163,7 +163,7 @@ function createVDOMComponent(
   const frag = new VaporFragment([])
   const vnode = createVNode(
     component,
-    rawProps && new Proxy(rawProps, rawPropsProxyHandlers),
+    rawProps && extend({}, new Proxy(rawProps, rawPropsProxyHandlers)),
   )
   const wrapper = new VaporComponentInstance(
     { props: component.props },