2023年9月21日
摘要: 问题:对于使用了 @JsonFormat对日期进行格式化后,在thymeleaf渲染的页面中显示不是 @JsonFormat 格式化后的数据。 原因:因为 thymeleaf 中有自己的日期格式化。 解决:通过使用 thymeleaf 中的日期格式化在页面中进行日期格式化。即通过 ${#dates. 阅读全文
posted @ 2023-09-21 09:29 xashould 阅读(56) 评论(0) 推荐(0) 编辑