【错误】关于DateTable中 Cannot reinitialise DataTable问题

异常信息

DataTables warning: table id=article_table - Cannot reinitialise DataTable. For more information about this error, please see http://datatables.net/tn/3

原因

旧的表格已经初始化,重复初始化会报错

解决方案

初始化时添加参数

retrieve: true,
posted @ 2017-09-19 11:06  keivnyau  阅读(586)  评论(0编辑  收藏  举报