问题描述
for (var ix=1;ix < 30;ix++){
axios.post(this.props.urlBase + 'Comanda',xxx,this.props.basicAuth)
.then((response) => {console.log("POST",response)})
.catch(ex => {
console.log(cx,ex);
});
}
调试:
{} 错误:网络错误 在 createError (c:\REACT\comande\node_modules\axios\lib\core\createError.js:16:1) 在 XMLHttpRequest.handleError (http://localhost:8100/static/js/vendors~main.chunk.js:11833:14) {配置:{…},请求:XMLHttpRequest,响应:未定义, isAxiosError: true,toJSON: ƒ,…} arg0:{} arg1:Error: 网络错误 在 createError (http://localhost:8100/static/js/vendors~main.chunk.js:12339:15) 在 XMLHttpRequest.handleError (http://localhost:8100/static/js/vendors~main.chunk.js:11833:14) {配置:{…},请求:XMLHttpRequest,响应:未定义, isAxiosError: true,…} config:{url: 'https://cloud.touristorganizer.com/wstourx/Comanda',方法:'post', 数据: '{"DATA":"2021-04-06","ORA":"16:24:44","TAVOLO"...":0,"PREPARATO":0,"MODIFICATO":-1,"numrig" :2}',标头:{...},transformRequest:Array(1),...} isAxiosError:true 消息:'网络错误'
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)