菜单新增是否缓存keep-alive
This commit is contained in:
		| @@ -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; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user