Skip to content

Commit f5a3f79

Browse files
committed
fix: remove console
1 parent 8d43e6f commit f5a3f79

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue3-virtual-scroll-list",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"description": "A vue3 component support big amount data list with high scroll performance.",
55
"main": "dist/index.js",
66
"scripts": {

src/item.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ const useResizeChange = (props: any, rootRef: Ref<HTMLElement | null>) => {
2424
// tell parent current size identify by unqiue key
2525
const dispatchSizeChange = () => {
2626
const { event, uniqueKey, hasInitial } = props;
27-
console.log(getCurrentSize());
2827
emitter.emit(event, uniqueKey, getCurrentSize(), hasInitial);
2928
};
3029

src/virtual-list.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,6 @@ export default defineComponent({
156156
};
157157
// set current scroll position to a expectant index
158158
const scrollToIndex = (index: number) => {
159-
console.log(index);
160159
// scroll to bottom
161160
if (index >= props.dataSources.length - 1) {
162161
scrollToBottom();

0 commit comments

Comments
 (0)