1
This commit is contained in:
@@ -85,6 +85,7 @@
|
||||
<i class="el-icon-caret-bottom"></i>
|
||||
</span>
|
||||
<el-dropdown-menu slot="dropdown">
|
||||
<!-- <el-dropdown-item divided command="personcenter">Personal Center</el-dropdown-item> -->
|
||||
<el-dropdown-item divided command="loginout">{{ $t('system.loyout') }}</el-dropdown-item>
|
||||
</el-dropdown-menu>
|
||||
</el-dropdown>
|
||||
@@ -162,6 +163,11 @@
|
||||
methods: {
|
||||
// 用户名下拉菜单选择事件
|
||||
handleCommand(command) {
|
||||
// 个人中心
|
||||
if (command == 'personcenter') {
|
||||
this.$router.push('/percenter');
|
||||
}
|
||||
// 退出系统
|
||||
if (command == 'loginout') {
|
||||
localStorage.removeItem('U_role');
|
||||
localStorage.removeItem('U_id');
|
||||
@@ -319,7 +325,7 @@
|
||||
float: left;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
|
||||
.header .logo p {
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
|
||||
Reference in New Issue
Block a user