# add username in navarbar
This commit is contained in:
parent
f5568205f9
commit
23ea18dcca
|
@ -23,8 +23,11 @@
|
||||||
<i class="el-icon-caret-bottom"></i>
|
<i class="el-icon-caret-bottom"></i>
|
||||||
</div>
|
</div>
|
||||||
<el-dropdown-menu slot="dropdown">
|
<el-dropdown-menu slot="dropdown">
|
||||||
|
<el-dropdown-item disabled>
|
||||||
|
<span style="color: #999;">{{$store.getters.name}}</span>
|
||||||
|
</el-dropdown-item>
|
||||||
<router-link to="/">
|
<router-link to="/">
|
||||||
<el-dropdown-item>
|
<el-dropdown-item divided>
|
||||||
{{$t('navbar.dashboard')}}
|
{{$t('navbar.dashboard')}}
|
||||||
</el-dropdown-item>
|
</el-dropdown-item>
|
||||||
</router-link>
|
</router-link>
|
||||||
|
|
Loading…
Reference in New Issue