Angular中使用datatable.js出现错误“ui-router TypeError: Cannot read property 'childNodes' of undefined”的解决方法

若是你在其余地方找到的方法行不通,而代码又确实没有什么问题javascript

建议把:java

 $('#ele').DataTable({
//ajax: {
//url: '',
//dataSrc: 'data'
//}
});

 建议把DataTable里配置使用ajax的地方删掉,数据获取使用$http实现ajax

相关文章
相关标签/搜索