Skip to content

Commit 4db0d31

Browse files
author
Guillaume Chau
committed
Removed data arrow function
1 parent c22c89f commit 4db0d31

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

src/components/VirtualScroller.vue

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,14 @@ export default {
136136
},
137137
},
138138
139-
data: () => ({
140-
visibleItems: [],
141-
itemContainerStyle: null,
142-
itemsStyle: null,
143-
keysEnabled: true,
144-
}),
139+
data () {
140+
return {
141+
visibleItems: [],
142+
itemContainerStyle: null,
143+
itemsStyle: null,
144+
keysEnabled: true,
145+
}
146+
},
145147
146148
computed: {
147149
cssClass () {

0 commit comments

Comments
 (0)