修复:使用tablePlus插件导出数据时,导致layui的table分页数变化的问题
This commit is contained in:
parent
80dd1b12ca
commit
d3ebf7e4a4
@ -30,7 +30,7 @@ layui.define(['jquery','layer','table'], function(exports) {
|
|||||||
area:['580px','240px'],
|
area:['580px','240px'],
|
||||||
content: pageHtml,
|
content: pageHtml,
|
||||||
success:function(res){
|
success:function(res){
|
||||||
var tableWhere = obj.where;
|
var tableWhere = $.extend({},obj.where);
|
||||||
tableWhere.limit=page_size;
|
tableWhere.limit=page_size;
|
||||||
$('#exportPage').on('click','a',function(){
|
$('#exportPage').on('click','a',function(){
|
||||||
tableWhere.page=$(this).data('page');
|
tableWhere.page=$(this).data('page');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user