|
|
|
@ -71,7 +71,7 @@ export default { |
|
|
|
tagNavList () { |
|
|
|
return this.$store.state.app.tagNavList |
|
|
|
}, |
|
|
|
// |
|
|
|
// 头像 |
|
|
|
userAvatar () { |
|
|
|
if (JSON.stringify(this.$store.state.user.userInfo) !== '{}') { |
|
|
|
let userData = {} |
|
|
|
@ -86,12 +86,15 @@ export default { |
|
|
|
} |
|
|
|
return defaultImg |
|
|
|
}, |
|
|
|
// 缓存 |
|
|
|
cacheList () { |
|
|
|
return ['ParentView', ...this.tagNavList.length ? this.tagNavList.filter(item => !(item.meta && item.meta.notCache)).map(item => item.name) : []] |
|
|
|
}, |
|
|
|
// 菜单 |
|
|
|
menuList () { |
|
|
|
return this.$store.getters.menuList |
|
|
|
}, |
|
|
|
// 语言 |
|
|
|
local () { |
|
|
|
return this.$store.state.app.local |
|
|
|
} |
|
|
|
|