From cf7f51a6337fb97525c7fcfb5d6b1afb7e10ac9f Mon Sep 17 00:00:00 2001 From: 葛瑞士 <gers@neoceansoft.com> Date: 星期三, 09 十二月 2020 16:05:09 +0800 Subject: [PATCH] 解决多文件上传Log报错 --- ruoyi-system/src/main/java/com/ruoyi/system/domain/vo/MetaVo.java | 24 +++++++++++++++++++++++- 1 files changed, 23 insertions(+), 1 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/vo/MetaVo.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/vo/MetaVo.java index e83ef10..ec04208 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/vo/MetaVo.java +++ b/ruoyi-system/src/main/java/com/ruoyi/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; -- Gitblit v1.9.2