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:
@@ -1,6 +1,6 @@
|
||||
import { defineStore } from 'pinia'
|
||||
|
||||
import { fetchAdminMe, loginAdmin, type AdminRole, type AdminUser } from '@/api/adminAuth'
|
||||
import { fetchAdminMe, loginAdmin, type AdminRole, type AdminUser } from '@/features/admin'
|
||||
import { clearAuthStorage, getAccessToken, getRefreshToken, setAuthTokens } from '@/utils/authStorage'
|
||||
|
||||
export const useAdminSessionStore = defineStore('adminSession', {
|
||||
|
||||
Reference in New Issue
Block a user