From a84770b4c3c59c07fd20ea318c3c14d54432db08 Mon Sep 17 00:00:00 2001 From: xiaoaojiao Date: Fri, 19 Sep 2025 10:37:26 +0800 Subject: [PATCH] merge --- src/libs/utils.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/libs/utils.js b/src/libs/utils.js index 1117815..8c08e41 100644 --- a/src/libs/utils.js +++ b/src/libs/utils.js @@ -140,8 +140,6 @@ export const Request = async (url, data, type, noloading, noerror) => { } else { Storage.clear() weui.alert("错误的请求") - window.location.reload() - return } } @@ -193,7 +191,7 @@ export const Request = async (url, data, type, noloading, noerror) => { } else if (response.status == 401) { Storage.clear() weui.alert("错误的请求") - window.location.reload() + // window.location.reload() return } else { if (!noerror) { @@ -226,7 +224,6 @@ export const RequestImg = async (url, data, type, noloading, noerror) => { } else { Storage.clear() weui.alert("错误的请求") - window.location.reload() return } } @@ -279,7 +276,7 @@ export const RequestImg = async (url, data, type, noloading, noerror) => { } else if (response.status == 401) { Storage.clear() weui.alert("错误的请求") - window.location.reload() + // window.location.reload() return } else { if (!noerror) {