mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-06-28 13:34:18 +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 配置类中为 Thymeleaf 配置全局对象:
|
||||||
|
|
||||||
|
(注意: 如果`SaTokenConfigure`继承了`WebMvcConfigurer`等类, 可能会造成循环依赖, 如果遇到, 请新建一个其他配置类完成此项配置)
|
||||||
|
|
||||||
``` java
|
``` java
|
||||||
|
@Configuration
|
||||||
public class SaTokenConfigure{
|
public class SaTokenConfigure{
|
||||||
// ... 其它代码
|
// ... 其它代码
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user