Skip to content

Commit

Permalink
Update componentProps.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 authored Oct 26, 2022
1 parent a7b5f1c commit a32f7f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-core/src/componentProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ function validateProps(
key,
resolvedValues[key],
opt,
shallowReadonly(resolvedValues),
__DEV__ ? shallowReadonly(resolvedValues) : resolvedValues,
!hasOwn(rawProps, key) && !hasOwn(rawProps, hyphenate(key))
)
}
Expand Down

0 comments on commit a32f7f7

Please sign in to comment.