mes跳转过来用户不变的问题和不允许操作退出

This commit is contained in:
2026-08-18 14:20:09 +08:00
parent 2a82167c23
commit 774f54ede5
7 changed files with 26 additions and 28 deletions

View File

@@ -11,20 +11,14 @@
<div class="avatar-wrapper">
<img :src="require(`../../assets/images/choicepart/avatar.png`)" class="user-avatar">
<span v-if="nickname" class="user-nickname">{{ nickname }}</span>
<i class="el-icon-caret-bottom" />
<!-- <i class="el-icon-caret-bottom" /> -->
</div>
<el-dropdown-menu slot="dropdown">
<!-- <router-link to="/user/profile">
<el-dropdown-item>个人中心</el-dropdown-item>
</router-link> -->
<!-- <el-dropdown-item @click.native="setting = true">
<span>布局设置</span>
</el-dropdown-item> -->
<!-- <el-dropdown-menu slot="dropdown">
<el-dropdown-item @click.native="logout">
<span>退出登录</span>
</el-dropdown-item>
<el-dropdown-item divided @click.native='handleToggle'>切换账号</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown-menu> -->
</el-dropdown>
</div>
</div>
@@ -180,7 +174,7 @@ export default {
position: relative;
.user-avatar {
cursor: pointer;
// cursor: pointer;
width: 35px;
height: 35px;
border-radius: 50%;