合计全部页

This commit is contained in:
Theluyuan 2022-11-11 09:45:21 +08:00
parent 2ae835ecfe
commit cae4bc1af0
2 changed files with 24491 additions and 1 deletions

24489
dist/layui.js vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1046,7 +1046,8 @@ layui.define(['laytpl', 'laypage', 'layer', 'form', 'util'], function(exports){
//正常初始化数据渲染
render(); //渲染数据
that.renderTotal(data, totalRowData); //数据合计
// 传data 合计当前页 传 全部data 合计全部页
that.renderTotal(that.config.data, totalRowData); //数据合计
that.layTotal && that.layTotal.removeClass(HIDE);
//同步分页状态