File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ export default create({
98
98
});
99
99
100
100
const end = computed (() => {
101
- return Math .min (state .originStartIndex + visibleCount .value + props .bufferSize , state .list .length - 1 );
101
+ return Math .min (state .originStartIndex + visibleCount .value + props .bufferSize , state .list .length );
102
102
});
103
103
104
104
const classes = computed (() => {
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ export default create({
65
65
});
66
66
67
67
const end = computed (() => {
68
- return Math .min (state .originStartIndex + visibleCount .value + props .bufferSize , state .list .length - 1 );
68
+ return Math .min (state .originStartIndex + visibleCount .value + props .bufferSize , state .list .length );
69
69
});
70
70
71
71
const classes = computed (() => {
You can’t perform that action at this time.
0 commit comments