用户名
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -29,14 +29,14 @@ export default { | ... | @@ -29,14 +29,14 @@ export default { |
29 | sidebarRight, | 29 | sidebarRight, |
30 | }, | 30 | }, |
31 | computed: { | 31 | computed: { |
32 | ...mapGetters(["sidebar", "dicData"]), | 32 | ...mapGetters(["sidebar", "dicData","userInfo"]), |
33 | logoName() { | 33 | logoName() { |
34 | return this.dicData['sysCode'] && this.dicData['sysCode'].filter(item => | 34 | return this.dicData['sysCode'] && this.dicData['sysCode'].filter(item => |
35 | item.DCODE == "systemTitle" | 35 | item.DCODE == "systemTitle" |
36 | ) | 36 | ) |
37 | }, | 37 | }, |
38 | userName(){ | 38 | userName(){ |
39 | return this.$store.state.userInfo ? this.$store.state.userInfo.name : "" | 39 | return this.userInfo ? this.userInfo.name : "" |
40 | } | 40 | } |
41 | }, | 41 | }, |
42 | methods: { | 42 | methods: { | ... | ... |
-
Please register or sign in to post a comment