mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-04-05 17:37:53 +08:00
Merge pull request #544 from dromara/doc-thymeleaf-temp
Update thymeleaf-extend.md
This commit is contained in:
commit
60d88bc5e5
@ -103,7 +103,10 @@ public class SaTokenConfigure {
|
||||
|
||||
首先在 SaTokenConfigure 配置类中为 Thymeleaf 配置全局对象:
|
||||
|
||||
(注意: 如果`SaTokenConfigure`继承了`WebMvcConfigurer`等类, 可能会造成循环依赖, 如果遇到, 请新建一个其他配置类完成此项配置)
|
||||
|
||||
``` java
|
||||
@Configuration
|
||||
public class SaTokenConfigure{
|
||||
// ... 其它代码
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user