美文网首页
BootstrapTable 渲染错误 Cannot read

BootstrapTable 渲染错误 Cannot read

作者: ppstar | 来源:发表于2020-12-25 17:04 被阅读0次

BootstrapTable 渲染报错,如下

Uncaught TypeError: Cannot read property 'colspan' of undefined
    at l (bootstrap-table.min.js?v=20191219:6)
    at e.initTable (bootstrap-table.min.js?v=20191219:6)
    at e.init (bootstrap-table.min.js?v=20191219:6)
    at e.BootstrapTable.init (bootstrap-table-mobile.js:73)
    at new e (bootstrap-table.min.js?v=20191219:6)
    at HTMLTableElement.<anonymous> (bootstrap-table.min.js?v=20191219:7)
    at Function.each (jquery.min.js:136)
    at n.fn.init.each (jquery.min.js:44)
    at n.fn.init.j.fn.bootstrapTable (bootstrap-table.min.js?v=20191219:7)
    at Object.init (...)

问题原因及解决

columns参数多谢一个逗号


image.png

相关文章

网友评论

      本文标题:BootstrapTable 渲染错误 Cannot read

      本文链接:https://www.haomeiwen.com/subject/imlinktx.html