首页 > datatables遇到undefined length 错误

datatables遇到undefined length 错误

datatables读取本地json文件,不能读取数据。错误为Uncaught TypeError: Cannot read property 'length' of undefined


account.json返回的json结构要包在aaData里面如:

php{
  aaData: [
    { 
    "name":"sf"

  }
]}
【热门文章】
【热门文章】