脚本报错如下:
XMLHttpRequest cannot load http://192.168.1.31:8080/upload/file. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://192.168.1.40' is therefore not allowed access. The response had HTTP status code 400.使用 ajaxSubmit 方式提交,火狐和ie 都可以,谷歌报上面的错误。