diff --git a/pages/home/customer-archive.vue b/pages/home/customer-archive.vue index 7a2373c..8510348 100644 --- a/pages/home/customer-archive.vue +++ b/pages/home/customer-archive.vue @@ -182,7 +182,7 @@ function toHealthList() { function toggle(i) { if (current.value && current.value._id === i._id) return; current.value = i; - scrollLeft.value = 0 + scrollLeft.value = scrollLeft.value === 0 ? 1 : 0; } function toManagePage() {