使用的layui的table数据表格模块,然后thymeleaf渲染的时候失败,报错的位置提示在 cols:[[...]],就是[[]]里面的内容不能渲染,后面查看资料发现是 [[]]是thymeleaf的内联表达式,可以在cols的后面换行。或者在script标签里 th:inline="none" 就可以了
spring boot + Thymeleaf + layui table 渲染报错 Could not parse as expression: "
最新推荐文章于 2024-05-01 11:42:15 发布