链接失效,下单

This commit is contained in:
Linzm committed 2025-06-07 10:36:05 +08:00
1 parent 6a7cf593cb
commit e7435aa858
5 files changed
+72 -26

No files matched your search

+3 -2
View File
@@ -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)