refactor(HomeHero): 添加 useNuxtApp 导入以支持 Nuxt 功能

This commit is contained in:
2026-04-26 23:09:57 +08:00
parent 4dbf05555d
commit 1407e2c8eb
+1
View File
@@ -1,5 +1,6 @@
<script setup lang="ts">
import { onMounted, onBeforeUnmount, ref } from 'vue'
import { useNuxtApp } from '#app'
import type Lenis from 'lenis'
import gsap from 'gsap'