diff --git a/src/layout/components/header/components/BreadCrumb.vue b/src/layout/components/header/components/BreadCrumb.vue
index 73e6ea7..f8d10c3 100644
--- a/src/layout/components/header/components/BreadCrumb.vue
+++ b/src/layout/components/header/components/BreadCrumb.vue
@@ -1,17 +1,18 @@
-
+
{{ item.meta.title }}
diff --git a/src/store/modules/user.js b/src/store/modules/user.js
index 4142734..1685030 100644
--- a/src/store/modules/user.js
+++ b/src/store/modules/user.js
@@ -38,10 +38,10 @@ export const useUserStore = defineStore('user', {
return Promise.reject(error)
}
},
- logout() {
- toLogin()
+ async logout() {
removeToken()
this.userInfo = {}
+ toLogin()
},
setUserInfo(userInfo = {}) {
this.userInfo = { ...this.userInfo, ...userInfo }