File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -319,13 +319,12 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat
319
319
var isLast = index <= delta . total && index >= lastStart || index > delta . total ;
320
320
321
321
if ( isLast ) {
322
- end = delta . total - 1 ;
323
322
start = Math . max ( 0 , lastStart ) ;
324
323
} else {
325
324
start = index ;
326
- end = start + delta . keeps - 1 ;
327
325
}
328
326
327
+ end = start + delta . keeps - 1 ;
329
328
return {
330
329
end : end ,
331
330
start : start ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vue-virtual-scroll-list" ,
3
- "version" : " 1.4.1 " ,
3
+ "version" : " 1.4.2 " ,
4
4
"description" : " A vue component support big amount data list with high scroll performance." ,
5
5
"main" : " dist/index.js" ,
6
6
"files" : [
Original file line number Diff line number Diff line change 327
327
const lastStart = delta . total - delta . keeps
328
328
const isLast = ( index <= delta . total && index >= lastStart ) || ( index > delta . total )
329
329
if ( isLast ) {
330
- end = delta . total - 1
331
330
start = Math . max ( 0 , lastStart )
332
331
} else {
333
332
start = index
334
- end = start + delta . keeps - 1
335
333
}
336
334
335
+ end = start + delta . keeps - 1
336
+
337
337
return {
338
338
end,
339
339
start,
You can’t perform that action at this time.
0 commit comments