41561225 by tianhaohao@pashanhoo.com

修改顶部对应的内容

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