This commit is contained in:
qsh
2024-09-10 16:38:04 +08:00
parent 3678c5fcc4
commit 3e714a0bc8
3 changed files with 15 additions and 12 deletions

View File

@@ -205,6 +205,8 @@ service.interceptors.response.use(
if (msg === '无效的刷新令牌') {
// hard coding忽略这个提示直接登出
console.log(msg)
} else if (code == 18888) {
return { data }
} else {
ElNotification.error({ title: msg })
if (code == 403) {