From 986b1e27e61c2524b7404059e17ae16167d251b3 Mon Sep 17 00:00:00 2001 From: Kobin <2686591467@qq.com> Date: Wed, 10 Jan 2024 21:12:21 +0800 Subject: [PATCH 1/2] 6 --- src/api/axiosFun.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api/axiosFun.js b/src/api/axiosFun.js index 8347c33..6343bc7 100644 --- a/src/api/axiosFun.js +++ b/src/api/axiosFun.js @@ -1,5 +1,6 @@ import axios from 'axios'; // 通用方法 + const req = (method, url, params) => { return axios({ method: method, -- Gitee From 62dbff17c9c8b85091e79021093d4dd8621c1d04 Mon Sep 17 00:00:00 2001 From: Kobin <2686591467@qq.com> Date: Wed, 10 Jan 2024 21:55:23 +0800 Subject: [PATCH 2/2] 6 --- src/api/axiosFun.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/api/axiosFun.js b/src/api/axiosFun.js index 6343bc7..122b9a4 100644 --- a/src/api/axiosFun.js +++ b/src/api/axiosFun.js @@ -1,6 +1,5 @@ import axios from 'axios'; -// 通用方法 - +// 通用方法1 const req = (method, url, params) => { return axios({ method: method, -- Gitee