mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-10-17 07:03:42 +08:00
refactor(projects): 抽离格式化相关依赖配置
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
import axios from 'axios';
|
||||
import type { AxiosRequestConfig, AxiosInstance, AxiosError } from 'axios';
|
||||
import type { AxiosError, AxiosInstance, AxiosRequestConfig } from 'axios';
|
||||
import { REFRESH_TOKEN_CODE } from '@/config';
|
||||
import {
|
||||
getToken,
|
||||
transformRequestData,
|
||||
handleAxiosError,
|
||||
handleResponseError,
|
||||
handleBackendError,
|
||||
handleServiceResult
|
||||
handleResponseError,
|
||||
handleServiceResult,
|
||||
transformRequestData
|
||||
} from '@/utils';
|
||||
import { handleRefreshToken } from './helpers';
|
||||
|
||||
|
Reference in New Issue
Block a user