diff --git a/src/App.vue b/src/App.vue
index fba7934..cd5dca9 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,7 +1,7 @@
-
+
diff --git a/src/components/ScrollList/ScrollList.vue b/src/components/ScrollList/ScrollList.vue
index 4bc5565..0a8e390 100644
--- a/src/components/ScrollList/ScrollList.vue
+++ b/src/components/ScrollList/ScrollList.vue
@@ -56,8 +56,12 @@ function swiperInit(_swiper: any) {
swiper.value = _swiper
}
+function scroll() {
+ swiper.value?.slideTo(0)
+}
+
defineExpose({
- swiper
+ scroll
})
diff --git a/src/components/ScrollListItem/ScrollListItem.vue b/src/components/ScrollListItem/ScrollListItem.vue
index 4513b6b..eea82cd 100644
--- a/src/components/ScrollListItem/ScrollListItem.vue
+++ b/src/components/ScrollListItem/ScrollListItem.vue
@@ -15,7 +15,7 @@
{{ formatDate(customer.addTime) }}
-