Skip to content

Commit fc98f8e

Browse files
committed
Modify example for the continue fill up feature
1 parent 6e53384 commit fc98f8e

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

example/index.html

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,11 @@
3636
distance: 100,
3737
list: []
3838
},
39-
ready: function () {
40-
for (var i = 0; i < 50; i++) {
41-
this.list.push(i + 1);
42-
}
43-
},
4439
methods: {
4540
onInfinite: function () {
4641
setTimeout(function () {
4742
var temp = [];
48-
for (var i = this.list.length; i <= this.list.length + 20; i++) {
43+
for (var i = this.list.length; i <= this.list.length + 10; i++) {
4944
temp.push(i);
5045
}
5146

0 commit comments

Comments
 (0)