在上顶部添加

<!--suppress ThymeleafVariablesResolveInspection -->

或者

<!--suppress ALL -->

都可以解决报红问题

Thymeleaf模板中变量报红

 

相关文章:

  • 2021-08-13
  • 2021-10-25
  • 2022-12-23
  • 2022-12-23
  • 2021-05-06
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-11
  • 2022-12-23
  • 2021-08-12
  • 2021-06-28
  • 2021-06-10
  • 2021-08-19
相关资源
相似解决方案