forked from natuka/web.puabadge.com
链接失效,下单
This commit is contained in:
1 parent
6a7cf593cb
commit
e7435aa858
5 files changed
+72
-26
No files matched your search
@@ -35,10 +35,11 @@ const errorHandler = (error: RequestError): Promise<any> => {
|
||||
})
|
||||
}
|
||||
// 401 未登录/未授权
|
||||
if (status === 401 && data.result && data.result.isLogin) {
|
||||
if (status === 401) {
|
||||
showNotify({
|
||||
type: 'danger',
|
||||
message: 'Authorization verification failed',
|
||||
message: (data && data.message) || '链接已失效,请联系平台客服',
|
||||
duration: 0
|
||||
})
|
||||
// 如果你需要直接跳转登录页面
|
||||
// location.replace(loginRoutePath)
|
||||
|
||||
Reference in new issue
Block a user