Commit c29f5d5096fcf078cca5c67d5111321ffd0682a4

Authored by jixq1995@163.com
1 parent 5e0fb93d

bug

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