修复页面缓存不起作用的bug

This commit is contained in:
zhigang.li@tendcloud.com 2018-11-05 10:04:38 +08:00
parent 9c6f2ee1f2
commit dc302d0f12
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ export default {
return this.$store.state.user.avatorImgPath
},
cacheList () {
return this.tagNavList.length ? this.tagNavList.filter(item => !(item.meta && item.meta.notCache)).map(item => item.name) : []
return ['ParentView', ...this.tagNavList.length ? this.tagNavList.filter(item => !(item.meta && item.meta.notCache)).map(item => item.name) : []]
},
menuList () {
return this.$store.getters.menuList