This commit is contained in:
Pengxiansen
2025-02-13 19:12:59 +08:00
parent e04ee4a408
commit 535a1ad419
3 changed files with 7 additions and 6 deletions

View File

@@ -70,7 +70,7 @@ export function useRequest(_url, params = {}, callback) {
};
}
export async function request(_url, params) {
export async function growthRequest(_url, params) {
const s = _url.split(' ')
let url = s[0]
const method = s[1]?.toLowerCase() || 'get'