|
|
@@ -79,6 +79,7 @@ export function createRequest(option: IRequestCreateConfig) {
|
|
|
|
|
|
return (promise as any).catch(async (error: { errno: string }) => {
|
|
|
shareRequestCache.delete(key);
|
|
|
+ if (url.endsWith('/authManage/login')) throw error;
|
|
|
if (error.errno === "060201401") {
|
|
|
await login(true, "重新登录中");
|
|
|
wx.showLoading({ title: "重新加载中" });
|