Skip to content

Commit a32f7f7

Browse files
authored
Update componentProps.ts
1 parent a7b5f1c commit a32f7f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime-core/src/componentProps.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ function validateProps(
576576
key,
577577
resolvedValues[key],
578578
opt,
579-
shallowReadonly(resolvedValues),
579+
__DEV__ ? shallowReadonly(resolvedValues) : resolvedValues,
580580
!hasOwn(rawProps, key) && !hasOwn(rawProps, hyphenate(key))
581581
)
582582
}

0 commit comments

Comments
 (0)