Skip to content

Commit 5b48778

Browse files
gucovipsxzz
authored andcommitted
chore: add some comments
1 parent cf8237c commit 5b48778

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime-core/src/componentRenderUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export function renderComponentRoot(
135135

136136
if (fallthroughAttrs && inheritAttrs !== false) {
137137
const { shapeFlag, type, props } = root
138-
138+
// fix #8969 should not fallthrough attr if it has been declared as a prop in the root component
139139
if (shapeFlag & ShapeFlags.COMPONENT && props) {
140140
Object.keys(fallthroughAttrs).forEach(key => {
141141
if (key in props) {

0 commit comments

Comments
 (0)