mirror of https://github.com/jumpserver/jumpserver
[Bugfix] 修改用户列表导出,默认导出全部用户
parent
784bec42ff
commit
c37414045b
|
@ -107,6 +107,9 @@ $(document).ready(function(){
|
|||
$('.btn_export').click(function () {
|
||||
var users = [];
|
||||
var rows = table.rows('.selected').data();
|
||||
if(rows.length===0){
|
||||
rows = table.rows().data();
|
||||
}
|
||||
$.each(rows, function (index, obj) {
|
||||
users.push(obj.id)
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue