feat: 菜单路由添加是否开启缓存和目录始终显示的设置

This commit is contained in:
hxr
2023-10-22 23:58:41 +08:00
parent c403c59107
commit a82ce8da7b
6 changed files with 180 additions and 116 deletions

View File

@@ -48,10 +48,12 @@ public class RouteVO {
@Schema(description = "拥有路由权限的角色编码", example = "['ADMIN','ROOT']")
private List<String> roles;
@Schema(description = "是否开启缓存", example = "true")
@Schema(description = "【菜单】是否开启页面缓存", example = "true")
@JsonInclude(JsonInclude.Include.NON_NULL)
private Boolean keepAlive;
@Schema(description = "是否一直显示根路由", example = "true")
@Schema(description = "【目录】只有一个子路由是否始终显示", example = "true")
@JsonInclude(JsonInclude.Include.NON_NULL)
private Boolean alwaysShow;
}