Refactor API requests and update component imports

This commit is contained in:
wangqiao
2025-08-18 14:28:10 +08:00
parent 07b4d3de99
commit 9ae3abeded
91 changed files with 669 additions and 884 deletions

View File

@ -14,9 +14,10 @@
</template>
<script setup lang="ts">
import { PropType, ref, watch } from 'vue'
import { recommendTop } from '@/api/upnew/index'
import { recommendTopRes } from '@/api/upnew/types'
import type { PropType} from 'vue'
import { ref, watch } from 'vue'
import { recommendTop } from '~/api/upnew/index'
import type { recommendTopRes } from '~/api/upnew/types'
const props = defineProps({
type: {
type: Number as PropType<1 | 2 | 3>,