@@ -1,6 +1,6 @@
<script lang="ts" setup>
-import type { IFooItem } from '@/service/index/foo'
-import { getFooAPI } from '@/service/index/foo'
+import type { IFooItem } from '@/api/foo'
+import { getFooAPI } from '@/api/foo'
const recommendUrl = ref('http://laf.run/signup?code=ohaOgIX')
@@ -10,7 +10,7 @@
import { useQuery } from '@tanstack/vue-query'
import { foo } from '@/api/foo'
-import { getFooQueryOptions } from '@/service/index/vue-query'
+import { getFooQueryOptions } from '@/api/foo-vue-query'
// 简单使用
onShow(async () => {