|
@@ -84,7 +84,7 @@ export default create({
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
const handleScrollEvent = async (e: any) => {
|
|
const handleScrollEvent = async (e: any) => {
|
|
|
- const scrollTop = e.detail ? e.detail.scrollTop : e.target.scrollTop;
|
|
|
|
|
|
|
+ const scrollTop = Math.max(e.detail ? e.detail.scrollTop : e.target.scrollTop, 0.1);
|
|
|
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');
|