We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 096643b commit a436841Copy full SHA for a436841
src/index.js
@@ -26,11 +26,9 @@ const VirtualList = Vue.component('virtual-list', {
26
},
27
28
watch: {
29
- dataSources (newValue, oldValue) {
30
- if (newValue.length !== oldValue.length) {
31
- this.virtual.updateParam('uniqueIds', this.getUniqueIdFromDataSources())
32
- this.virtual.handleDataSourcesChange()
33
- }
+ 'dataSources.length' () {
+ this.virtual.updateParam('uniqueIds', this.getUniqueIdFromDataSources())
+ this.virtual.handleDataSourcesChange()
34
35
36
start (newValue) {
0 commit comments