Skip to content

Commit f8be210

Browse files
zhiyuanzmjCopilot
andauthored
Update packages/runtime-vapor/src/component.ts
Co-authored-by: Copilot <[email protected]>
1 parent 5929f33 commit f8be210

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime-vapor/src/component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -977,7 +977,7 @@ function handleSetupResult(
977977
// - setup returning non-block state for use in render
978978
// support setup fn and render fn co-usage for defineComponent expose
979979
if (!isBlock(setupResult) && component.render) {
980-
instance.setupState = setupResult
980+
instance.setupState = proxyRefs(setupResult)
981981
instance.block =
982982
callWithErrorHandling(
983983
component.render,

0 commit comments

Comments
 (0)