This commit is contained in:
yuping
2022-12-18 17:18:19 +08:00
parent bf1d3a70e3
commit ac62da7d5c

View File

@@ -138,6 +138,7 @@ export async function request(_url, params) {
}
}
const body = method !== 'get' ? params || {} : {}
url = process.env.VUE_APP_BOE_API_URL + url
return fetch(url,{
method,
headers:{