jquery.dataTables.min.js:36 Uncaught TypeError: Cannot read property 'length' of null


jquery.dataTables.min.js:36 Uncaught TypeError: Cannot read property 'length' of null


1.出现上述错误,要查看自己要输出的数据中有没有为null的。

2.就是上面两种Example的区别。
3.前端所需要的数据是一个数组或列表,而后端传递的是具体数据,而数组为空

猜你喜欢

转载自blog.csdn.net/weixin_39654286/article/details/84978557