[fix][V]:完善跨域访问后端

master
Romesum 5 years ago
parent e491a027a2
commit f5157e4f4f

@ -17,6 +17,8 @@ async function request(url, method, data, params, header = {}) {
params, params,
method, method,
header, header,
withCredentials: true,
crossDomain: true,
url: config.host + url url: config.host + url
}).then(res => { }).then(res => {
// 测试期间每个请求都console // 测试期间每个请求都console

Loading…
Cancel
Save