向后端post请求时,报错timeout of 5000ms exceeded
wlwcrazw1#
在request.js中添加config.headers['Content-Type'] = '/'
kognpnkq2#
It works thank you, but any explanation?
2条答案
按热度按时间wlwcrazw1#
在request.js中添加
config.headers['Content-Type'] = '/'
kognpnkq2#
在request.js中添加
config.headers['Content-Type'] = '/'
It works thank you, but any explanation?