解决办法 修改前 : var table = $(’#example’).DataTable(); 修改后: var table = $(’#example’).dataTable(); 将.DataTable();大写的D改成小写的d就可以使用 fnGetNodes();