mirror of https://github.com/jumpserver/jumpserver
修复全选按钮在搜索后仍然选择全部的问题
parent
7f3d32a876
commit
576ddbf673
|
@ -310,11 +310,11 @@ jumpserver.initDataTable = function (options) {
|
|||
if (!jumpserver.checked) {
|
||||
$(this).closest('table').find('.ipt_check').prop('checked', true);
|
||||
jumpserver.checked = true;
|
||||
table.rows().select();
|
||||
table.rows({search:'applied'}).select();
|
||||
} else {
|
||||
$(this).closest('table').find('.ipt_check').prop('checked', false);
|
||||
jumpserver.checked = false;
|
||||
table.rows().deselect();
|
||||
table.rows({search:'applied'}).deselect();
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue