8000 fix passing prop to v-repeat instance · TonyXY/vue@9dc4ef5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9dc4ef5

Browse files
committed
fix passing prop to v-repeat instance
1 parent 6afe4c5 commit 9dc4ef5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/instance/scope.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ exports._initData = function () {
5757
!optionsData.hasOwnProperty(prop) ||
5858
propsData[prop] !== undefined
5959
) {
60-
optionsData[prop] = propsData[prop]
60+
optionsData.$set(prop, propsData[prop])
6161
}
6262
}
6363
}

0 commit comments

Comments
 (0)
0