|
@@ -87,7 +87,6 @@ export default create({
|
|
|
const scrollTop = e.detail ? e.detail.scrollTop : e.target.scrollTop;
|
|
const scrollTop = e.detail ? e.detail.scrollTop : e.target.scrollTop;
|
|
|
state.start = Math.floor(scrollTop / props.height);
|
|
state.start = Math.floor(scrollTop / props.height);
|
|
|
if (end.value > state.list.length) {
|
|
if (end.value > state.list.length) {
|
|
|
- emit('scroll');
|
|
|
|
|
emit('scroll-bottom');
|
|
emit('scroll-bottom');
|
|
|
}
|
|
}
|
|
|
state.startOffset = scrollTop - (scrollTop % props.height);
|
|
state.startOffset = scrollTop - (scrollTop % props.height);
|