基于layui的table模块的插件tablePlus优化。
This commit is contained in:
parent
a2d9ee6228
commit
12dd79a3bc
@ -65,9 +65,9 @@ layui.define(['jquery','layer','table'], function(exports) {
|
|||||||
}
|
}
|
||||||
if(typeof params.done === "function"){
|
if(typeof params.done === "function"){
|
||||||
let _done = params.done;
|
let _done = params.done;
|
||||||
params.done = function(data){
|
params.done = function(data, curr, count){
|
||||||
let obj = this;
|
let obj = this;
|
||||||
_done(data);
|
_done(data, curr, count);
|
||||||
tablePlus.excel(data,excel_limit,obj);
|
tablePlus.excel(data,excel_limit,obj);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user