This commit is contained in:
yanran200730
2023-08-08 20:53:48 +08:00
parent e2e0543e0b
commit bf25e883a0
3 changed files with 189 additions and 2 deletions

View File

@@ -36,6 +36,7 @@
<el-dropdown-menu slot="dropdown">
<!-- <el-dropdown-item command="phone">修改手机</el-dropdown-item> -->
<el-dropdown-item command="pwd">修改密码</el-dropdown-item>
<el-dropdown-item command="message">消息推送</el-dropdown-item>
<el-dropdown-item command="logout">退出登录</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
@@ -170,8 +171,8 @@
this.$router.push('changePhone')
} else if (e === 'pwd') {
this.$router.push('changePwd')
} else if (e === 'userinfo') {
this.$router.push('userInfo')
} else if (e === 'message') {
this.$router.push('message')
} else {
this.$store.commit('SignOut', true)
}