mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-07 02:10:23 +00:00
[Update] 优化命令记录列表
This commit is contained in:
@@ -648,8 +648,6 @@ jumpserver.initServerSideDataTable = function (options) {
|
||||
$.each(rows, function (id, row) {
|
||||
table.selected_rows.push(row);
|
||||
if (row.id && $.inArray(row.id, table.selected) === -1){
|
||||
console.log(table)
|
||||
console.log(table.selected);
|
||||
table.selected.push(row.id)
|
||||
}
|
||||
})
|
||||
@@ -1096,3 +1094,8 @@ function objectAttrsIsBool(obj, attrs) {
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
function formatDateAsCN(d) {
|
||||
var date = new Date(d);
|
||||
return date.toISOString().replace("T", " ").replace(/\..*/, "");
|
||||
}
|
||||
|
Reference in New Issue
Block a user