This commit is contained in:
dev
2025-10-28 09:25:46 +08:00
commit 9431e325df
1089 changed files with 143917 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
export function usePageScroll() {
const scrollTop = ref(0)
onPageScroll((e) => {
scrollTop.value = e.scrollTop
})
return {
scrollTop
}
}