Commit 564f063652e628bbb8ffcb83ea7c15b41f11fefe

Authored by JEECG开源社区
Committed by Gitee
2 parents 5e0fb93d c29f5d50

!13 【开源贡献活动】解决菜单页面切换 tab页面切换导致某些页面不渲染

Merge pull request !13 from Jixq/master
ant-design-vue-jeecg/src/components/layouts/TabLayout.vue
... ... @@ -105,9 +105,10 @@
105 105 // update-begin-author:taoyan date:20200211 for: TASK #3368 【路由缓存】首页的缓存设置有问题,需要根据后台的路由配置来实现是否缓存
106 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 110 this.routeReload()
110   - }
  111 + // }
111 112 // update-end-author:taoyan date:20200211 for: TASK #3368 【路由缓存】首页的缓存设置有问题,需要根据后台的路由配置来实现是否缓存
112 113 }else if (this.linkList.indexOf(newRoute.fullPath) < 0) {
113 114 this.linkList.push(newRoute.fullPath)
... ...