🐛 Fixing a bug. #4825 在新建租户中【大屏设计】不可用

This commit is contained in:
lbw committed 2023-04-15 00:11:49 +08:00
1 parent 98af04bc58
commit 31f85c57eb
1 file changed
+1 -1
@@ -75,7 +75,7 @@ public class SecurityRequestFilter extends OncePerRequestFilter {
}
// 当tenantId参数不存在时,默认为1
tenantId = StrUtil.isBlank(tenantId) ? tenantId : "1";
tenantId = StrUtil.isNotBlank(tenantId) ? tenantId : "1";
// 获取用户信息
Optional<String> principalName = RetOps