This commit is contained in:
jixq1995@163.com 2020-06-16 20:03:05 +08:00
parent 5e0fb93d8d
commit c29f5d5096
1 changed files with 3 additions and 2 deletions

View File

@ -105,9 +105,10 @@
// update-begin-author:taoyan date:20200211 for: TASK #3368 路由缓存首页的缓存设置有问题需要根据后台的路由配置来实现是否缓存
} else if(indexKey==newRoute.fullPath) {
//首页时 判断是否缓存 没有缓存 刷新之
if (newRoute.meta.keepAlive === false) {
//https://gitee.com/jeecg/jeecg-boot/issues/I1ARZ0 bug 路由缓存 有缓存时chart-card无法得到数据渲染
// if (newRoute.meta.keepAlive === false) {
this.routeReload()
}
// }
// update-end-author:taoyan date:20200211 for: TASK #3368 路由缓存首页的缓存设置有问题需要根据后台的路由配置来实现是否缓存
}else if (this.linkList.indexOf(newRoute.fullPath) < 0) {
this.linkList.push(newRoute.fullPath)