|
|
@ -162,8 +162,8 @@ var table = {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 请求获取数据后处理回调函数
|
|
|
|
// 请求获取数据后处理回调函数
|
|
|
|
responseHandler: function(res) {
|
|
|
|
responseHandler: function(res) {
|
|
|
|
if (typeof table.options.responseHandler == "function") {
|
|
|
|
if (typeof table.get(this.id).responseHandler == "function") {
|
|
|
|
table.options.responseHandler(res);
|
|
|
|
table.get(this.id).responseHandler(res);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (res.code == 0) {
|
|
|
|
if (res.code == 0) {
|
|
|
|
if ($.common.isNotEmpty(table.options.sidePagination) && table.options.sidePagination == 'client') {
|
|
|
|
if ($.common.isNotEmpty(table.options.sidePagination) && table.options.sidePagination == 'client') {
|
|
|
|