📅  最后修改于: 2022-03-11 14:56:28.485000             🧑  作者: Mango
$(document).ready( function() {
$('#example').DataTable( {
dom: 'Bfrtip',
buttons: [ {
extend: 'excelHtml5',
autoFilter: true,
sheetName: 'Exported data'
} ]
} );
} );