that.startTime = new Date().getTime(); //渲染开始时间
if(options.url){ //Ajax请求
var params = {};
params[request.pageName] = curr;
params[request.limitName] = options.limit;
//参数
var data = $.extend(params,options.where);
if(options.contentType && options.contentType.indexOf("application/json") == 0){ //提交 json 格式
data = JSON.stringify(data);
}
$.ajax({
type: options.method || 'get',url: options.url,contentType: options.contentType,data: data,dataType: 'json',headers: options.headers || {},success: function(res){
// 加入这部分!!!
// 临时解决layui的table组件中response选项不支持多层级获取接口数据的方法
// ----------------开始---------------------
if (typeof options.responseHandler == "function") {
res = options.responseHand