diff --git a/src/layout/navbar/index.vue b/src/layout/navbar/index.vue index 96c90cc..643b8c8 100644 --- a/src/layout/navbar/index.vue +++ b/src/layout/navbar/index.vue @@ -115,6 +115,12 @@ const accountChange = (userId) => { authStore.userLogout() setToken(res.data) window.location.href = "/home" + }else{ + ElNotification({ + title: '提示', + message: res.msg, + type: 'error' + }) } }) }