1. 程式人生 > >jquery.dataTables.min.js:62 Uncaught TypeError: Cannot read property 'style' of undefined原因

jquery.dataTables.min.js:62 Uncaught TypeError: Cannot read property 'style' of undefined原因

maven/java/web/bootstrapQQ群:566862629。希望更多人一起幫助我學習。

報錯: jquery.dataTables.min.js:62 Uncaught TypeError: Cannot read property 'style' of undefined

原因:datatable表格內容有操作列,而表頭沒有定義操作列。少寫了這行:<th>操作</th>