fix 登录失败的提示信息

This commit is contained in:
jxxghp
2024-06-24 11:51:39 +08:00
parent 6fad85e957
commit 1cb02994bf
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ api.interceptors.response.use(
router.push('/login')
}
return Promise.reject(new Error(error))
return Promise.reject(error)
},
)