【优化】该改动影响打包后使用,暂先不用代理

pull/180/head
俞宝山 2023-12-01 16:13:49 +08:00 committed by xiaonuobase
parent 1a6d5e97c9
commit 38a470d40a
1 changed files with 1 additions and 0 deletions

View File

@ -151,6 +151,7 @@ service.interceptors.response.use(
// 适配器, 用于适配不同的请求方式
export const baseRequest = (url, value = {}, method = 'post', options = {}) => {
url = sysConfig.API_URL + url
if (method === 'post') {
return service.post(url, value, options)
} else if (method === 'get') {