步骤一:
# 配置thymeleaf模板引擎的缓存,设置为关闭,默认为true开启
spring.thymeleaf.cache=false
步骤二:
将 Edit Configuration -> Run/Debug Configurations 中的On ‘Update’ action 和 On frame deactiveation 都设为 Update resources
步骤一:
# 配置thymeleaf模板引擎的缓存,设置为关闭,默认为true开启
spring.thymeleaf.cache=false
步骤二:
将 Edit Configuration -> Run/Debug Configurations 中的On ‘Update’ action 和 On frame deactiveation 都设为 Update resources