[Bugfix] 修复initDataTable表格搜索栏位置错乱的问题,显示不友好问题 (#2880)

pull/2882/head
八千流 5 years ago committed by BaiJiangJie
parent 858c7df86b
commit 17e1fe2acb

@ -472,7 +472,7 @@ jumpserver.initDataTable = function (options) {
}; };
var table = ele.DataTable({ var table = ele.DataTable({
pageLength: options.pageLength || 15, pageLength: options.pageLength || 15,
dom: options.dom || '<"#uc.pull-left">flt<"row m-t"<"col-md-8"<"#op.col-md-6"><"col-md-6 text-center"i>><"col-md-4"p>>', dom: options.dom || '<"#uc.pull-left"><"pull-right"<"inline"l><"#fb.inline"><"inline"f><"#fa.inline">>tr<"row m-t"<"col-md-8"<"#op.col-md-6"><"col-md-6 text-center"i>><"col-md-4"p>>',
order: options.order || [], order: options.order || [],
// select: options.select || 'multi', // select: options.select || 'multi',
searchDelay: 800, searchDelay: 800,

Loading…
Cancel
Save