1
0
mirror of https://github.com/zclzone/vue-naive-admin.git synced 2025-12-28 12:10:20 +08:00

refactor: refactor api usage

This commit is contained in:
张传龙
2022-07-25 18:36:22 +08:00
parent e5768fa1e3
commit 7762e02b31
11 changed files with 34 additions and 101 deletions

View File

@@ -17,6 +17,8 @@ export function createAxios(options = {}) {
export const defAxios = createAxios()
export default createAxios()
export const testAxios = createAxios({
baseURL: import.meta.env.VITE_APP_BASE_API_TEST,
})