Merge pull request #544 from dromara/doc-thymeleaf-temp

Update thymeleaf-extend.md
This commit is contained in:
click33 2024-04-02 11:15:14 +08:00 committed by GitHub
commit 60d88bc5e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -103,7 +103,10 @@ public class SaTokenConfigure {
首先在 SaTokenConfigure 配置类中为 Thymeleaf 配置全局对象:
(注意: 如果`SaTokenConfigure`继承了`WebMvcConfigurer`等类, 可能会造成循环依赖, 如果遇到, 请新建一个其他配置类完成此项配置)
``` java
@Configuration
public class SaTokenConfigure{
// ... 其它代码