后端返回数据问题

后端接口返回JSON数据,如果使用datatable,那必须返回数据即便是空的list,但是不能为null,否则前端会报错。

原文地址:https://www.cnblogs.com/shitou911013/p/12297775.html