diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue
index 1b8aad1..7e53a84 100644
--- a/src/layout/components/Navbar.vue
+++ b/src/layout/components/Navbar.vue
@@ -55,24 +55,37 @@
- 个人中心
+ 个人中心
-
-
+
锁定屏幕
-
- 系统设置
+
+ 系统设置
-
- 关于
+
+ 关于
-
- 切换账号
+
+ 切换账号
-
+
退出登录
@@ -166,21 +179,8 @@ export default {
this.$router.push("/lock");
});
},
- switchAccount() {
- this.$confirm("确定要切换账号吗?", "提示", {
- confirmButtonText: "确定",
- cancelButtonText: "取消",
- type: "warning",
- })
- .then(() => {
- this.$store.dispatch("LogOut").then(() => {
- location.href = "/index";
- });
- })
- .catch(() => {});
- },
- logout() {
- this.$confirm("确定注销并退出系统吗?", "提示", {
+ logout(title) {
+ this.$confirm(title, "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
diff --git a/src/views/system/user/profile/index.vue b/src/views/system/user/profile/index.vue
index d790e6e..f04af2a 100644
--- a/src/views/system/user/profile/index.vue
+++ b/src/views/system/user/profile/index.vue
@@ -1,7 +1,7 @@
-
+
个人信息
@@ -56,7 +56,7 @@
-
+
修改密码