Cannot read property 'field' of undefined

引入bootstrap-table来进行table的格式化时,格式化失败,报错:

Cannot read property 'field' of undefined

检查后,发现错误出在,表格中的 th 和 td 的数量不对等。

检查一遍,把这部分值调整好即可

参考:

https://blog.csdn.net/u014490083/article/details/79597425

发布了102 篇原创文章 · 获赞 91 · 访问量 54万+

猜你喜欢

转载自blog.csdn.net/sinat_32034679/article/details/82386395