mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update admin.js
This commit is contained in:
parent
9ecbefac2c
commit
dc31aa5c64
@ -716,12 +716,12 @@ $(function () {
|
|||||||
if (curp > maxp && maxp > 1) $table.trigger('reload', {page: {curr: maxp}});
|
if (curp > maxp && maxp > 1) $table.trigger('reload', {page: {curr: maxp}});
|
||||||
return res;
|
return res;
|
||||||
};
|
};
|
||||||
// 搜索表单关联
|
// 关联搜索表单
|
||||||
var sform, search = params.search || table.dataset.targetSearch;
|
var sform, search = params.search || table.dataset.targetSearch;
|
||||||
if (search) (sform = $body.find(search)).map(function () {
|
if (search) (sform = $body.find(search)).map(function () {
|
||||||
$(this).attr('data-table-id', table.id);
|
$(this).attr('data-table-id', table.id);
|
||||||
});
|
});
|
||||||
// 绑定选择项关联
|
// 关联绑定选择项
|
||||||
var checked = params.checked || table.dataset.targetChecked;
|
var checked = params.checked || table.dataset.targetChecked;
|
||||||
if (checked) $body.find(checked).map(function () {
|
if (checked) $body.find(checked).map(function () {
|
||||||
$(this).attr('data-table-id', table.id);
|
$(this).attr('data-table-id', table.id);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user