This commit is contained in:
liushiwei
2023-08-08 20:56:13 +08:00
3 changed files with 189 additions and 2 deletions

View File

@@ -22,6 +22,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>
@@ -151,8 +152,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)
}