优化:优化前端 axios 配置

This commit is contained in:
2023-02-02 20:26:42 +08:00
parent c5d4e8ae21
commit b32a298b62
6 changed files with 73 additions and 62 deletions

View File

@@ -1,6 +1,6 @@
import { ref, UnwrapRef } from 'vue';
import { AxiosResponse } from 'axios';
import { HttpResponse } from '@/api/interceptor';
import { HttpResponse } from '@/utils/request';
import useLoading from './loading';
// use to fetch list