41561225 by tianhaohao@pashanhoo.com

修改顶部对应的内容

1 parent ff9853ec
...@@ -10,7 +10,9 @@ ...@@ -10,7 +10,9 @@
10 <div class="right-menu"> 10 <div class="right-menu">
11 <!-- <svg-icon class="function" icon-class='function' /> --> 11 <!-- <svg-icon class="function" icon-class='function' /> -->
12 <div class="avatar-wrapper"> 12 <div class="avatar-wrapper">
13 <span style="padding-right:10px">{{ name }}</span> 13 <!-- <span style="padding-right:10px">{{ name }}</span> -->
14 <div> {{ userInfo.departmentName }}</div>
15 <div> {{ userInfo.name }}</div>
14 <img :src="avatar + '?imageView2/1/w/80/h/80'" class="user-avatar" /> 16 <img :src="avatar + '?imageView2/1/w/80/h/80'" class="user-avatar" />
15 </div> 17 </div>
16 <svg-icon class="shutdown" @click.native="logout" icon-class='shutdown' /> 18 <svg-icon class="shutdown" @click.native="logout" icon-class='shutdown' />
...@@ -31,7 +33,7 @@ ...@@ -31,7 +33,7 @@
31 NoticeBar 33 NoticeBar
32 }, 34 },
33 computed: { 35 computed: {
34 ...mapGetters(['sidebar', 'avatar', 'name']), 36 ...mapGetters(['sidebar', 'avatar', 'name','userInfo']),
35 baseUrl () { 37 baseUrl () {
36 return window._config.baseUrl; 38 return window._config.baseUrl;
37 }, 39 },
......