mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
表格初始化
This commit is contained in:
parent
1d7e6382df
commit
164ad52ebe
@ -695,7 +695,7 @@ $(function () {
|
||||
// 动态计算最大页数
|
||||
option.done = function () {
|
||||
layui.sessionData('pages', {key: table.id, value: this.page.curr || 1}), (table.loading = true);
|
||||
$table.next().find('[data-load],[data-queue],[data-action],[data-iframe]').not('[data-table-id]').attr('data-table-id', table.id);
|
||||
$.form.reInit($table.next()).find('[data-load],[data-queue],[data-action],[data-iframe]').not('[data-table-id]').attr('data-table-id', table.id);
|
||||
}, option.parseData = function (res) {
|
||||
if (typeof params.filter === 'function') res.data = params.filter(res.data, res);
|
||||
var maxp = Math.ceil(res.count / table.limit), curp = layui.sessionData('pages')[option.id] || 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user