Skip to content

Commit 4d3b956

Browse files
authored
fix(DynamicScrollerItem): watch item prop (#700)
1 parent fc10557 commit 4d3b956

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/DynamicScrollerItem.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export default {
143143
144144
updateWatchData () {
145145
if (this.watchData) {
146-
this.$_watchData = this.$watch('data', () => {
146+
this.$_watchData = this.$watch('item', () => {
147147
this.onDataUpdate()
148148
}, {
149149
deep: true,

0 commit comments

Comments
 (0)