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; }); - } - } + }, + }, };