Skip to content

Commit

Permalink
fix: 导入1000条数据会超过php变量限制
Browse files Browse the repository at this point in the history
  • Loading branch information
twinh committed Apr 13, 2019
1 parent 5b2480a commit c7b5478
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion public/js/excel.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ define(['plugins/app/libs/jquery-form/jquery.form'], function () {
type: 'post',
dataType: 'json',
url: $.url(url),
data: {data: data},
contentType: 'application/json',
data: JSON.stringify(data),
success: function (result) {
call(result);
}
Expand Down

0 comments on commit c7b5478

Please sign in to comment.