一、问题描述
用axios发post请求,却出现了options请求和post请求,options请求哪里来的?
二、问题分析
1、先温习一下跨域的知识
2、axios默认类型是Content-Type:application/json,发非简单请求。