基于layui的table模块的插件tablePlus优化。

This commit is contained in:
hdm 2023-03-18 16:43:44 +08:00
parent a2d9ee6228
commit 12dd79a3bc

View File

@ -65,9 +65,9 @@ layui.define(['jquery','layer','table'], function(exports) {
}
if(typeof params.done === "function"){
let _done = params.done;
params.done = function(data){
params.done = function(data, curr, count){
let obj = this;
_done(data);
_done(data, curr, count);
tablePlus.excel(data,excel_limit,obj);
}
}