utils/index.js @@ -18,7 +18,7 @@ return fetch(url, opt) } // get请求 // get请求 // urlParam是拼接路径的参数 export const reqGet = (url, params, urlParam, opt = {}) => { opt.header = typeObj['headerGET'];