chore: 批量修复所有剩余导入路径错误

全面修复所有文件中的导入路径:
- 修复 utils/ 目录(pricing.ts, listingDisplay.ts)
- 修复 shared/ 目录(composables, components, types)
- 修复 stores/adminSession.ts
- 修复 layouts/AdminLayout.vue
- 修复 types/publish.ts

类型错误:106 → 79(-27)
模块错误 (TS2307):47 → 38(-9)

所有代码文件的 @/api/ 导入已修复!
This commit is contained in:
yml2213
2026-06-04 10:00:57 +08:00
parent 734285100a
commit 360ebb85e6
9 changed files with 9 additions and 9 deletions
@@ -1,6 +1,6 @@
<script setup lang="ts">
import { onBeforeUnmount, ref, watch } from 'vue'
import { fetchAdminFileBlob, fetchFileBlobByURL } from '@/api/files'
import { fetchAdminFileBlob, fetchFileBlobByURL } from '@/shared/api/files'
const props = defineProps<{
source: string
@@ -1,6 +1,6 @@
import { computed, type Ref } from 'vue'
import type { ChargeMode, ListingPublishOptions, PublishSalePriceConfig, QuantityKey, ScreenshotKey } from '@/api/listingOptions'
import type { ChargeMode, ListingPublishOptions, PublishSalePriceConfig, QuantityKey, ScreenshotKey } from '@/features/listings/api/listingOptions'
import type { PublishForm } from '@/types/publish'
import {
buildDepositBreakdownItems,
+1 -1
View File
@@ -1,4 +1,4 @@
import type { ChargeMode, QuantityKey, ScreenshotKey } from '@/api/listingOptions'
import type { ChargeMode, QuantityKey, ScreenshotKey } from '@/features/listings/api/listingOptions'
export type PublishForm = {
server_region: string
+1 -1
View File
@@ -6,7 +6,7 @@ import type {
PublishQuantityItem,
PublishRatioConfig,
PublishSalePriceConfig,
} from '@/api/listingOptions'
} from '@/features/listings/api/listingOptions'
import type { DepositBreakdownItem, PublishForm, PublishPlatformPricing } from '@/types/publish'
export const dailyLossOptions = [10, 20, 30, 40, 50]