修复 table pullData 方法在 renderData 模式下执行了多余的排序的问题

pull/1358/head
sunxiaobin89 2023-08-29 02:35:12 +08:00
parent 205fa1fcd7
commit 917159cd1d
1 changed files with 2 additions and 1 deletions

View File

@ -1001,7 +1001,8 @@ layui.define(['lay', 'laytpl', 'laypage', 'form', 'util'], function(exports){
curr: curr, curr: curr,
count: res[response.countName], count: res[response.countName],
type: opts.type, type: opts.type,
}), sort(), done(res, 'renderData'); sort: true,
}), done(res, 'renderData');
} else if(options.url){ // Ajax请求 } else if(options.url){ // Ajax请求
var params = {}; var params = {};
// 当 page 开启,默认自动传递 page、limit 参数 // 当 page 开启,默认自动传递 page、limit 参数