From 09cef9de3349ba7ffb8bfd717bca371c4903527f Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Sun, 8 Sep 2024 19:38:34 +0800 Subject: [PATCH] =?UTF-8?q?fix=20:=20=E4=BF=AE=E5=A4=8D=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E5=88=87=E6=8D=A2=E6=97=B6,=E6=8A=A5=E9=94=99=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/navbar/index.vue | 6 ++++++ 1 file changed, 6 insertions(+) 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' + }) } }) }