📅  最后修改于: 2022-03-11 15:04:10.388000             🧑  作者: Mango
var table = $('#example').DataTable({
dom:
"<'row'<'col-sm-3'l><'col-sm-6 text-center'B><'col-sm-3'f>>" +
"<'row'<'col-sm-12'tr>>" +
"<'row'<'col-sm-5'i><'col-sm-7'p>>",
language: {
url: "https://cdn.datatables.net/plug-ins/1.10.9/i18n/English.json"
},
buttons: [
'copy', 'pdf', 'excel', 'csv'
]
});