Illegal invocation
在使用jQuery
封装的ajax
请求的时候
只需要添加两行代码就可以解决了。
contentType: false, //告诉jQuery不要去设置Content-Type请求头
processData: false, //告诉jQuery不要去处理发送的数据
contentType告诉服务器从浏览器提交过来的数据格式。
默认值是:contentType = "application/x-www-form-urlencoded"
向大家推荐《Activiti工作流实战教程》:https://xiaozhuanlan.com/activiti