From b6c7a899a4b3021fe6031552ff677640ca9e5da3 Mon Sep 17 00:00:00 2001 From: "1747191978@qq.com" <1942943850@qq.com> Date: Mon, 3 Mar 2025 16:58:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=91=E7=9A=84=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/layout/components/Navbar.vue | 1 - acupuncture-前台/src/router/index.js | 15 +++++----- .../src/views/system/user/profile/index.vue | 28 +++++++++++-------- 3 files changed, 24 insertions(+), 20 deletions(-) diff --git a/acupuncture-前台/src/layout/components/Navbar.vue b/acupuncture-前台/src/layout/components/Navbar.vue index 18fcc5b77..f4d781d8b 100644 --- a/acupuncture-前台/src/layout/components/Navbar.vue +++ b/acupuncture-前台/src/layout/components/Navbar.vue @@ -33,7 +33,6 @@ --> - + @@ -72,7 +78,7 @@ export default { user: {}, roleGroup: {}, postGroup: {}, - activeTab: "userinfo" + activeTab: "userinfo", }; }, created() { @@ -80,12 +86,12 @@ export default { }, methods: { getUser() { - getUserProfile().then(response => { + getUserProfile().then((response) => { this.user = response.data; this.roleGroup = response.roleGroup; this.postGroup = response.postGroup; }); - } - } + }, + }, };