|
@@ -38,6 +38,7 @@ var table = {
|
|
|
var defaults = {
|
|
|
id: "bootstrap-table",
|
|
|
type: 0,
|
|
|
+ method: 'post',
|
|
|
height: undefined,
|
|
|
sidePagination: "server",
|
|
|
sortName: "",
|
|
@@ -78,7 +79,7 @@ var table = {
|
|
|
id: options.id,
|
|
|
url: options.url,
|
|
|
contentType: "application/x-www-form-urlencoded",
|
|
|
- method: 'post',
|
|
|
+ method: options.method,
|
|
|
cache: false,
|
|
|
height: options.height,
|
|
|
striped: options.striped,
|