perf: 优化token过期提示 #11577
This commit is contained in:
parent
2cdccbdfd5
commit
9b33128369
@ -163,11 +163,11 @@ const showLoginErrorMsg = () => {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (loginErrorMsg.value.startsWith('token is Expired')) {
|
if (loginErrorMsg.value.startsWith('token is Expired')) {
|
||||||
ElMessage.error('token已过期,请重新登录!')
|
ElMessage.error('登录信息已过期,请重新登录!')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (loginErrorMsg.value.startsWith('token is destroyed')) {
|
if (loginErrorMsg.value.startsWith('token is destroyed')) {
|
||||||
ElMessage.error('token已销毁,请重新登录!')
|
ElMessage.error('登录信息已销毁,请重新登录!')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (loginErrorMsg.value.startsWith('user_disable')) {
|
if (loginErrorMsg.value.startsWith('user_disable')) {
|
||||||
|
|||||||
2
de-xpack
2
de-xpack
@ -1 +1 @@
|
|||||||
Subproject commit 9a7b3488f9e8dee6ea156cbdf34f789dda011f7d
|
Subproject commit f46bb2733054d6c3f034522c549817b1b7ddcd54
|
||||||
Loading…
Reference in New Issue
Block a user