From 8425bd08c9202d3d2d1d08dce0c79e6c45488138 Mon Sep 17 00:00:00 2001
From: ysn <2126564605@qq.com>
Date: Mon, 25 May 2026 16:41:57 +0800
Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=9F=BA=E7=A1=80=E8=AE=BE?=
=?UTF-8?q?=E7=BD=AE-=E9=A1=B5=E9=9D=A2=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/layout/components/Navbar.vue | 50 ++++++++++++-------------
src/views/system/user/profile/index.vue | 4 +-
2 files changed, 27 insertions(+), 27 deletions(-)
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 @@
-
+
修改密码