修复:使用tablePlus插件导出数据时,导致layui的table分页数变化的问题

This commit is contained in:
hdm 2023-06-03 00:02:35 +08:00
parent 80dd1b12ca
commit d3ebf7e4a4

View File

@ -30,7 +30,7 @@ layui.define(['jquery','layer','table'], function(exports) {
area:['580px','240px'],
content: pageHtml,
success:function(res){
var tableWhere = obj.where;
var tableWhere = $.extend({},obj.where);
tableWhere.limit=page_size;
$('#exportPage').on('click','a',function(){
tableWhere.page=$(this).data('page');