RuoYi
2021-01-05 c633d4b63bb6ea372afd7f977c1107a34d2ad40a
src/main/java/com/ruoyi/project/system/domain/vo/MetaVo.java
@@ -13,9 +13,14 @@
    private String title;
    /**
     * 设置该路由的图标,对应路径src/icons/svg
     * 设置该路由的图标,对应路径src/assets/icons/svg
     */
    private String icon;
    /**
     * 设置为true,则不会被 <keep-alive>缓存
     */
    private boolean noCache;
    public MetaVo()
    {
@@ -27,6 +32,23 @@
        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;