菜单新增是否缓存keep-alive

This commit is contained in:
RuoYi
2020-09-20 10:34:03 +08:00
parent 478fae0d28
commit abeb8d7fd8
9 changed files with 155 additions and 103 deletions

View File

@ -17,6 +17,11 @@ public class MetaVo
*/
private String icon;
/**
* 设置为true则不会被 <keep-alive>缓存
*/
private boolean noCache;
public MetaVo()
{
}
@ -27,6 +32,23 @@ public class MetaVo
this.icon = icon;
}
public MetaVo(String title, String icon, boolean noCache)
{
this.title = title;
this.icon = icon;
this.noCache = noCache;
}
public boolean isNoCache()
{
return noCache;
}
public void setNoCache(boolean noCache)
{
this.noCache = noCache;
}
public String getTitle()
{
return title;