feat: 优化首页个人名片与内容入口

This commit is contained in:
2026-07-16 23:51:55 +08:00
parent 92360e4f49
commit 991264c32c
25 changed files with 1158 additions and 130 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
export default defineNuxtPlugin(() => {
export default defineNuxtPlugin((nuxtApp) => {
if (typeof window === 'undefined') return
let observer: IntersectionObserver | null = null
@@ -38,7 +38,7 @@ export default defineNuxtPlugin(() => {
})
// 首次加载
onMounted(() => {
nuxtApp.hook('app:mounted', () => {
setTimeout(initScrollSpy, 100)
})
})